From: rnv Date: Mon, 22 Jul 2013 13:25:29 +0000 (+0000) Subject: Preparation win32 version. X-Git-Tag: V7_2_0_WIN~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57b87a8c66743318a904114fc96d4e655f87aba8;p=modules%2Fkernel.git Preparation win32 version. --- diff --git a/salome_adm/cmake_files/FindSalomeLIBBATCH.cmake b/salome_adm/cmake_files/FindSalomeLIBBATCH.cmake index da8d56855..9f18cc545 100644 --- a/salome_adm/cmake_files/FindSalomeLIBBATCH.cmake +++ b/salome_adm/cmake_files/FindSalomeLIBBATCH.cmake @@ -36,6 +36,9 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(libbatch DEFAULT_MSG LIBBATCH_ROOT_DIR LIBBATCH_INCLUDE_DIRS LIBBATCH_LIBRARIES LIBBATCH_RUNTIME_LIBRARY_DIRS LIBBATCH_PYTHONPATH) -if(WINDOWS) - set(CMAKE_FIND_LIBRARY_SUFFIXES ${PREV_CMAKE_FIND_LIBRARY_SUFFIXES}) -endif(WINDOWS) +if(EXISTS ${LIBBATCH_ROOT_DIR}) + if(WINDOWS) + set(CMAKE_FIND_LIBRARY_SUFFIXES ${PREV_CMAKE_FIND_LIBRARY_SUFFIXES}) + endif(WINDOWS) +endif(EXISTS ${LIBBATCH_ROOT_DIR}) +