aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/boost/CMakeLists.txt
blob: c4d5edb39fef8172fa368367df464233477a09c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)
install_pdbs(TARGETS foo DESTINATION bin)