mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-16 15:41:30 +02:00
15 lines
342 B
CMake
15 lines
342 B
CMake
cmake_minimum_required(VERSION 3.1.0)
|
|
|
|
project(fnd CXX)
|
|
|
|
find_package(Boost 1.56 REQUIRED COMPONENTS filesystem)
|
|
include_directories( ${Boost_INCLUDE_DIR} )
|
|
|
|
file(GLOB SOURCES "src/*.cpp")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic")
|
|
|
|
add_executable(fnd ${SOURCES})
|
|
|
|
target_link_libraries(fnd ${Boost_LIBRARIES})
|