From e2e61d052ceeb80a9adb5c272241818984537df6 Mon Sep 17 00:00:00 2001 From: akl Date: Tue, 19 Feb 2013 06:56:30 +0000 Subject: [PATCH] Include 'FindPackageHandleStandardArgs' to use 'FIND_PACKAGE_HANDLE_STANDARD_ARGS' function. --- salome_adm/cmake_files/FindSalomeLIBBATCH.cmake | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2