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:
Andrej730
2025-08-11 17:33:06 +05:00
parent 39f4abe243
commit e54dce5dcf
+2
View File
@@ -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.")