Skip to content

Commit a955d2b

Browse files
committed
ifcwrap cmake - add hint about missing SWIG_EXECUTABLE
1 parent a4045a3 commit a955d2b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/ifcwrap/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ cmake_policy(SET CMP0177 NEW)
2121

2222
FIND_PACKAGE(SWIG)
2323
IF(NOT SWIG_FOUND)
24-
MESSAGE(FATAL_ERROR "BUILD_IFCPYTHON enabled, but unable to find SWIG. Disable BUILD_IFCPYTHON or fix SWIG paths to proceed.")
24+
MESSAGE(
25+
FATAL_ERROR
26+
"BUILD_IFCPYTHON enabled, but unable to find SWIG. Disable BUILD_IFCPYTHON or fix SWIG paths to proceed. "
27+
"Likely SWIG_EXECUTABLE is missing (current value - '${SWIG_EXECUTABLE}')."
28+
)
2529
ENDIF()
2630
include(GNUInstallDirs)
2731
INCLUDE(${SWIG_USE_FILE})

0 commit comments

Comments
 (0)