From: barate Date: Tue, 6 Aug 2013 10:11:52 +0000 (+0000) Subject: Fix Libbatch usage with CMake compilation X-Git-Tag: begin_agr_portmanager_branch_131004~62 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=02d582c900576680d0250e3b07a91c62b044cff7;p=modules%2Fkernel.git Fix Libbatch usage with CMake compilation --- diff --git a/src/Launcher/CMakeLists.txt b/src/Launcher/CMakeLists.txt index 3e304ceea..05abbeff0 100755 --- a/src/Launcher/CMakeLists.txt +++ b/src/Launcher/CMakeLists.txt @@ -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