mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
ifcwrap cmake - set CMP0177 to new
To fix 1k warnings running in cmake 3.30+ The new policy is that cmake is normalizing destination paths in `install` and warns if normalization has any effect on them. In our case paths after normalization should be fine, so switching it to `NEW`.
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
# #
|
||||
################################################################################
|
||||
|
||||
cmake_policy(SET CMP0177 NEW)
|
||||
|
||||
FIND_PACKAGE(SWIG)
|
||||
IF(NOT SWIG_FOUND)
|
||||
MESSAGE(FATAL_ERROR "BUILD_IFCPYTHON enabled, but unable to find SWIG. Disable BUILD_IFCPYTHON or fix SWIG paths to proceed.")
|
||||
|
||||
Reference in New Issue
Block a user