Remove include path option hiding preprocessor definition

This variable is empty, so the argument evaluated to "-I", and the next
argument was then interpreted as a path (and thus ignored). This hides a
preprocessor definition (-D) from Swig.
This commit is contained in:
Simon Richter 2020-02-07 20:08:11 +01:00
parent b824051adf
commit 8d6e5953aa
1 changed files with 0 additions and 1 deletions

View File

@ -400,7 +400,6 @@ if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES )
-I${CMAKE_SOURCE_DIR}/scripting
-I${CMAKE_SOURCE_DIR}/common/swig
-I${CMAKE_SOURCE_DIR}/libs/kimath/include
-I${WXPYTHON_SWIG_DIR}
)
if( DEBUG )