Skip to content

Commit

Permalink
Enable Boost policy
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis committed Aug 8, 2024
1 parent 1d07437 commit 0550f23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ set (CMAKE_CXX_STANDARD_REQUIRED YES)
set (CMAKE_CXX_EXTENSIONS NO)
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)

if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()

if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the type of build." FORCE)
# Set the possible values of build type for cmake-gui
Expand Down

0 comments on commit 0550f23

Please sign in to comment.