Skip to content

Commit adc3d5d

Browse files
committed
Update CMake for 3.12 and newer
- Get rid of dev warning about [policy CMP0075] - See documentation of [CMake policies] for additional info [policy CMP007]: https://cmake.org/cmake/help/latest/policy/CMP0075.html [CMake policies]: https://cmake.org/cmake/help/latest/manual/cmake-policies.7.html
1 parent 72dfff8 commit adc3d5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
cmake_minimum_required(VERSION 3.2)
22

3+
if(POLICY CMP0075)
4+
cmake_policy(SET CMP0075 NEW)
5+
endif()
6+
37
# Set the type/configuration of build to perform
48
set ( CMAKE_CONFIGURATION_TYPES "Debug" "Release" "MinSizeRel" "RelWithDebInfo" "CodeCoverage" )
59
set ( CMAKE_BUILD_TYPE "Release"

0 commit comments

Comments
 (0)