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







                                                                   
                                                                               

                                            
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::disable_autolinking Boost::filesystem)

install(TARGETS foo RUNTIME DESTINATION bin)