Salome HOME
Added option to enable or disable tests.
[tools/libbatch.git] / src / Local / CMakeLists.txt
index 0fbe4a27275db99f7ccd2cfe04ebd0a0929a1f91..c301edec4c0c331fd226224bf4a2ca25562adb7d 100644 (file)
@@ -36,4 +36,6 @@ SET(CLASS_LIST Local/Batch_BatchManager_Local_RSH
 APPEND_CLASSES_TO_SRC_FILES(${CLASS_LIST})
 APPEND_CLASSES_TO_HDR_FILES(${CLASS_LIST})
 
-add_subdirectory(Test)
+IF (TEST_ENABLED)
+    add_subdirectory(Test)
+ENDIF (TEST_ENABLED)