pass config to swig preproc

This commit is contained in:
Thomas Krijnen
2021-10-29 10:39:02 +02:00
parent 0bae861b6a
commit a5af8807ee
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ ENDIF()
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
SET(CMAKE_SWIG_FLAGS "")
SET(CMAKE_SWIG_FLAGS ${SWIG_DEFINES})
# NOTE Workaround for most likely missing debug Python libraries on Windows (requires Python built from the source).
# Python 3.5 intaller and onwards will have an option to install the debug libraries too.
# NOTE PYTHON_DEBUG_LIBRARIES appears to be a deprecated variable