Salome HOME
New CMake procedure with conflict detection.
[tools/libbatch.git] / src / Python / Test / CMakeLists.txt
index 1190ad74df5560d63e5fc49eee88260713735b01..9e2633284ed7c6a1d30f22d405c393616bd99f93 100644 (file)
@@ -20,7 +20,7 @@
 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-IF (BUILD_LOCAL_SUBMISSION AND HAS_SH)
+IF (LIBBATCH_LOCAL_SUBMISSION AND HAS_SH)
     # Configure the config file for the test script
     CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.py.in ${CMAKE_CURRENT_BINARY_DIR}/config.py)
     
@@ -30,4 +30,4 @@ IF (BUILD_LOCAL_SUBMISSION AND HAS_SH)
     
     # Add the test
     ADD_TEST(Python_Local_SH ${PYTHON_EXECUTABLE} Test_Python_Local_SH.py)
-ENDIF (BUILD_LOCAL_SUBMISSION AND HAS_SH)
+ENDIF ()