Fix ifcwrap searching for headers in system directories #3883 (#5697)

This commit is contained in:
Chris Mayo
2025-08-13 08:37:58 +01:00
committed by GitHub
parent 94a3d58e49
commit 61fff3d2b4
+1 -1
View File
@@ -47,7 +47,7 @@ IF(NOT PYTHONLIBS_FOUND OR "$PYTHON_INCLUDE_DIRS}" STREQUAL "")
ENDIF()
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR})
SET(CMAKE_SWIG_FLAGS ${SWIG_DEFINES})
# NOTE Workaround for most likely missing debug Python libraries on Windows (requires Python built from the source).