diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 17:28:51 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 17:37:15 +0300 |
commit | 4c83598367502aca0a03890c26210456e968658d (patch) | |
tree | e6e4331c63f6d947d99b6949e384b362848a861f /CMakeLists.txt | |
parent | update cmake-common (diff) | |
download | winapi-debug-4c83598367502aca0a03890c26210456e968658d.tar.gz winapi-debug-4c83598367502aca0a03890c26210456e968658d.zip |
cmake: install() PDBs & use Boost::*
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bc4006..62bd1e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) # for Boost::* imported targets project(pdb_repo CXX) @@ -11,7 +11,7 @@ file(GLOB_RECURSE pdb_repo_src "src/*.cpp") add_library(pdb_repo ${pdb_repo_include} ${pdb_repo_src}) target_compile_definitions(pdb_repo PUBLIC _NO_CVCONST_H) target_include_directories(pdb_repo PUBLIC include/) -target_include_directories(pdb_repo SYSTEM PUBLIC ${Boost_INCLUDE_DIRS}) +target_link_libraries(pdb_repo PUBLIC Boost::boost) target_link_libraries(pdb_repo PRIVATE DbgHelp) add_subdirectory(utils) |