Private
Public Access
2
0

tests: add cmake ctest infrastructure so make test can run

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-04-07 23:38:48 +01:00
parent 8cc957ac64
commit 4599f3c12a
3 changed files with 20 additions and 23 deletions

View File

@@ -1,11 +1,4 @@
if (BUILDPYTHON3)
set (PYTHONBUILD_VERSION 3)
else ()
set (PYTHONBUILD_VERSION 2.7)
endif ()
find_package (PythonLibs ${PYTHONBUILD_VERSION} REQUIRED)
find_package (PythonInterp ${PYTHONBUILD_VERSION} REQUIRED)
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH})