mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
ifcwrap cmake - add hint about missing SWIG_EXECUTABLE
This commit is contained in:
@@ -21,7 +21,11 @@ cmake_policy(SET CMP0177 NEW)
|
|||||||
|
|
||||||
FIND_PACKAGE(SWIG)
|
FIND_PACKAGE(SWIG)
|
||||||
IF(NOT SWIG_FOUND)
|
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()
|
ENDIF()
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
INCLUDE(${SWIG_USE_FILE})
|
INCLUDE(${SWIG_USE_FILE})
|
||||||
|
|||||||
Reference in New Issue
Block a user