Commit 9480c187 authored by Berk Geveci's avatar Berk Geveci
Browse files

BUG: Separated variable to control testing with python independently of the rest of python

parent 29cadea6
......@@ -3,7 +3,7 @@ PROJECT(QtTesting)
SET(QT_TESTING_WITH_XML ON)
IF(PARAVIEW_ENABLE_PYTHON AND QT_TESTING_WITH_PYTHON)
IF(QT_TESTING_WITH_PYTHON)
INCLUDE(${CMAKE_ROOT}/Modules/FindPythonLibs.cmake)
......@@ -33,7 +33,7 @@ IF(PARAVIEW_ENABLE_PYTHON AND QT_TESTING_WITH_PYTHON)
pqPythonEventSource.cxx
pqPythonEventSource.h
)
ENDIF(PARAVIEW_ENABLE_PYTHON AND QT_TESTING_WITH_PYTHON)
ENDIF(QT_TESTING_WITH_PYTHON)
IF(QT_TESTING_WITH_XML)
SET(XML_MOCS
......@@ -166,12 +166,12 @@ TARGET_LINK_LIBRARIES(QtTesting
${QT_LIBRARIES}
)
IF(PARAVIEW_ENABLE_PYTHON AND QT_TESTING_WITH_PYTHON)
IF(QT_TESTING_WITH_PYTHON)
TARGET_LINK_LIBRARIES(QtTesting
${PYTHON_LIBRARIES}
${PYTHON_UTIL_LIBRARY_LIB}
)
ENDIF(PARAVIEW_ENABLE_PYTHON AND QT_TESTING_WITH_PYTHON)
ENDIF(QT_TESTING_WITH_PYTHON)
CONFIGURE_FILE(${QtTesting_SOURCE_DIR}/QtTestingConfigure.h.in
${QtTesting_BINARY_DIR}/QtTestingConfigure.h)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment