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






                                                  
                                                                               

                                            
                                         
cmake_minimum_required(VERSION 3.12)

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)