diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-09 04:08:11 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-09 04:08:11 +0300 |
commit | 4a11c7c9eb06c5a3699eb55db08a12627a267ae6 (patch) | |
tree | 80a975edc1468eb069aaad1516c8b6b5321410b5 /CMakeLists.txt | |
parent | update cmake-common (diff) | |
download | winapi-debug-4a11c7c9eb06c5a3699eb55db08a12627a267ae6.tar.gz winapi-debug-4a11c7c9eb06c5a3699eb55db08a12627a267ae6.zip |
minor improvements to CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6442717..99f6420 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,4 @@ -if(COMMAND cmake_policy) - cmake_policy(SET CMP0003 NEW) -endif(COMMAND cmake_policy) +cmake_minimum_required(VERSION 3.1) project(pdb_repo CXX) @@ -11,7 +9,7 @@ find_package(Boost REQUIRED) file(GLOB_RECURSE pdb_repo_include "include/*.hpp") file(GLOB_RECURSE pdb_repo_src "src/*.cpp") add_library(pdb_repo ${pdb_repo_include} ${pdb_repo_src}) -target_compile_definitions(pdb_repo PRIVATE WIN32_LEAN_AND_MEAN PUBLIC _NO_CVCONST_H) +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 PRIVATE DbgHelp) |