mirror of
https://github.com/wjakob/tbb.git
synced 2026-08-29 08:34:40 +08:00
Set CMake policy CMP0068 to NEW to quench warnings
This commit is contained in:
@@ -14,6 +14,10 @@ if(POLICY CMP0058)
|
||||
cmake_policy(SET CMP0058 NEW)
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0068)
|
||||
cmake_policy(SET CMP0068 NEW)
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||
message(STATUS "Setting build type to 'Release' as none was specified.")
|
||||
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
|
||||
|
||||
Reference in New Issue
Block a user