set(LIBBATCH_ROOT_DIR $ENV{LIBBATCH_ROOT_DIR} CACHE PATH "Path to libbatch directory")
if(EXISTS ${LIBBATCH_ROOT_DIR})
- find_package(libBatch QUIET CONFIG PATHS ${LIBBATCH_ROOT_DIR}/lib NO_DEFAULT_PATH)
+ find_package(libbatch QUIET CONFIG PATHS ${LIBBATCH_ROOT_DIR}/lib NO_DEFAULT_PATH)
endif(EXISTS ${LIBBATCH_ROOT_DIR})
-find_package(libBatch QUIET CONFIG)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(libBatch DEFAULT_MSG
+find_package(libbatch QUIET CONFIG)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(libbatch DEFAULT_MSG
LIBBATCH_ROOT_DIR LIBBATCH_INCLUDE_DIRS LIBBATCH_LIBRARIES
LIBBATCH_RUNTIME_LIBRARY_DIRS LIBBATCH_PYTHONPATH)
-
-# Artefact for compatibility with Libbatch 1.6.0, to be removed in Salome 7
-IF(LIBBATCH_FOUND)
- get_filename_component(LIBBATCH_INCLUDE_DIR "${LIBBATCH_INCLUDE_DIRS}/.." ABSOLUTE)
-ENDIF(LIBBATCH_FOUND)
${PYTHON_INCLUDE_DIRS}
${PTHREAD_INCLUDE_DIRS}
${MPI_CXX_INCLUDE_PATH}
- ${LIBBATCH_INCLUDE_DIR}
+ ${LIBBATCH_INCLUDE_DIRS}
${CMAKE_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace