aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/boost/CMakeLists.txt
blob: e7ac156639fe338a6bb55edf0a722eb85eeb6ef4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
cmake_minimum_required(VERSION 3.8)

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)