swig: fix usage of SWIGPYTHON for python specific code
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -71,6 +71,8 @@ endif ()
|
||||
|
||||
find_package (SWIG)
|
||||
if (SWIG_FOUND)
|
||||
set (CMAKE_C_FLAGS -DSWIG=${SWIG_FOUND})
|
||||
set (CMAKE_CXX_CFLAGS -DSWIG=${SWIG_FOUND})
|
||||
include (${SWIG_USE_FILE})
|
||||
|
||||
add_subdirectory (python)
|
||||
|
||||
Reference in New Issue
Block a user