From: akl Date: Tue, 19 Feb 2013 06:56:30 +0000 (+0000) Subject: Include 'FindPackageHandleStandardArgs' to use 'FIND_PACKAGE_HANDLE_STANDARD_ARGS... X-Git-Tag: V6_main_FINAL~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2e61d052ceeb80a9adb5c272241818984537df6;p=modules%2Fkernel.git Include 'FindPackageHandleStandardArgs' to use 'FIND_PACKAGE_HANDLE_STANDARD_ARGS' function. --- diff --git a/salome_adm/cmake_files/FindSalomeLIBBATCH.cmake b/salome_adm/cmake_files/FindSalomeLIBBATCH.cmake index f7756177d..d84f2ca9f 100644 --- a/salome_adm/cmake_files/FindSalomeLIBBATCH.cmake +++ b/salome_adm/cmake_files/FindSalomeLIBBATCH.cmake @@ -1,6 +1,8 @@ # LIBBATCH detection for Salome +include(FindPackageHandleStandardArgs) + 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)