aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/cmake/examples/boost/CMakeLists.txt
blob: 87fcc4e5bdc632d86f48eb450cc8a14ef733ad40 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                   
cmake_minimum_required(VERSION 3.5) # for Boost::* imported targets

project(example_boost)

include(../../common.cmake)

find_package(Boost REQUIRED COMPONENTS filesystem)
add_executable(foo foo.cpp)
target_link_libraries(foo PRIVATE Boost::filesystem)

install(TARGETS foo RUNTIME DESTINATION bin)