This means we can depend on the directory existing to check if the prerequisites are met in the tests/ section Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 lines
279 B
CMake
10 lines
279 B
CMake
set_source_files_properties (mraapython.i PROPERTIES CPLUSPLUS ON)
|
|
set_source_files_properties (mraapython.i PROPERTIES SWIG_FLAGS "-I${CMAKE_BINARY_DIR}/src")
|
|
|
|
if (PYTHON2_LIBRARY)
|
|
add_subdirectory (python2)
|
|
endif ()
|
|
if (PYTHON3_LIBRARY)
|
|
add_subdirectory (python3)
|
|
endif ()
|