]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Win32 building.
authorrnv <rnv@opencascade.com>
Wed, 30 Oct 2013 12:39:43 +0000 (12:39 +0000)
committerrnv <rnv@opencascade.com>
Wed, 30 Oct 2013 12:39:43 +0000 (12:39 +0000)
salome_adm/cmake_files/FindSalomeHDF5.cmake
salome_adm/cmake_files/FindSphinx.cmake

index de7dc234d9365734cdeab4b15f1042c21db88ca2..367755ca50d053c4d02cd1aae37e2f67ff595a14 100644 (file)
 #  MPI root directory used for HDF5 compilation is exposed into MPI_ROOT_DIR_EXP
 #
 
+SET(HDF5_ROOT_DIR $ENV{HDF5_ROOT_DIR} CACHE PATH "Path to the HDF5.")
+
 if(WIN32)
   set(PREV_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
   set(CMAKE_FIND_LIBRARY_SUFFIXES dll${CMAKE_IMPORT_LIBRARY_SUFFIX})
+  set(CMAKE_LIBRARY_PATH ${HDF5_ROOT_DIR}/dll)
 endif()
 
 SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(HDF5 HDF5_INCLUDE_DIR 1)
index 8e05c7a73c21330b913c249bb7405651e6ffd72c..f06933ab1a3a66db0e34040ee0966b5fa091dbca 100644 (file)
@@ -30,7 +30,7 @@
 #
 ###########################################################################
 
-FIND_PROGRAM(SPHINX_EXECUTABLE sphinx-build)
+FIND_PROGRAM(SPHINX_EXECUTABLE sphinx-build PATH_SUFFIXES Scripts)
 
 # Handle the standard arguments of the find_package() command:
 INCLUDE(FindPackageHandleStandardArgs)