ifcwrap cmake - add hint about missing SWIG_EXECUTABLE

This commit is contained in:
Andrej730
2025-08-12 18:41:48 +05:00
parent a4045a37f1
commit a955d2bdee
+5 -1
View File
@@ -21,7 +21,11 @@ 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.")
MESSAGE(
FATAL_ERROR
"BUILD_IFCPYTHON enabled, but unable to find SWIG. Disable BUILD_IFCPYTHON or fix SWIG paths to proceed. "
"Likely SWIG_EXECUTABLE is missing (current value - '${SWIG_EXECUTABLE}')."
)
ENDIF()
include(GNUInstallDirs)
INCLUDE(${SWIG_USE_FILE})