mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Propagate CMP0167 policy to fix cmake warnings
This commit is contained in:
@@ -37,6 +37,7 @@ if(POLICY CMP0144) # 3.27
|
|||||||
endif()
|
endif()
|
||||||
if(POLICY CMP0167) # 3.30
|
if(POLICY CMP0167) # 3.30
|
||||||
cmake_policy(SET CMP0167 OLD)
|
cmake_policy(SET CMP0167 OLD)
|
||||||
|
set(CMAKE_POLICY_DEFAULT_CMP0167 OLD) # Propagate to subdirectories and find modules.
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
|
|||||||
Reference in New Issue
Block a user