mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
cmake - fix errors on older cmake #7023
This commit is contained in:
@@ -17,8 +17,12 @@
|
||||
# #
|
||||
################################################################################
|
||||
|
||||
cmake_policy(SET CMP0148 OLD)
|
||||
cmake_policy(SET CMP0177 OLD)
|
||||
if(POLICY CMP0148) # 3.27
|
||||
cmake_policy(SET CMP0148 OLD)
|
||||
endif()
|
||||
if(POLICY CMP0177) # 3.31
|
||||
cmake_policy(SET CMP0177 OLD)
|
||||
endif()
|
||||
|
||||
FIND_PACKAGE(SWIG)
|
||||
IF(NOT SWIG_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user