From 02d582c900576680d0250e3b07a91c62b044cff7 Mon Sep 17 00:00:00 2001 From: barate Date: Tue, 6 Aug 2013 10:11:52 +0000 Subject: [PATCH] Fix Libbatch usage with CMake compilation --- src/Launcher/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2