]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix Libbatch usage with CMake compilation
authorbarate <barate>
Tue, 6 Aug 2013 10:11:52 +0000 (10:11 +0000)
committerbarate <barate>
Tue, 6 Aug 2013 10:11:52 +0000 (10:11 +0000)
src/Launcher/CMakeLists.txt

index 3e304ceea01a20c92234eaac558c066f6cab997c..05abbeff08f0e2d6564df4a232ad54d0272b6f12 100755 (executable)
@@ -37,9 +37,9 @@ INCLUDE_DIRECTORIES(
 )
 
 ADD_DEFINITIONS(${MPI_CXX_COMPILE_FLAGS} ${LIBXML2_DEFINITIONS} ${OMNIORB_DEFINITIONS})
-IF(SALOME_USE_LIBBATCH AND LIBBATCH_FOUND)
+IF(SALOME_USE_LIBBATCH)
   ADD_DEFINITIONS(-DWITH_LIBBATCH)
-ENDIF(SALOME_USE_LIBBATCH AND LIBBATCH_FOUND)
+ENDIF(SALOME_USE_LIBBATCH)
 
 # This local variable defines the list of dependant libraries common to all target in this package.
 SET(COMMON_LIBS