]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Correction of Renaud.
authorageay <ageay>
Wed, 10 Jul 2013 06:16:43 +0000 (06:16 +0000)
committerageay <ageay>
Wed, 10 Jul 2013 06:16:43 +0000 (06:16 +0000)
adm_local/cmake_files/FindScotch.cmake
src/MEDOP/gui/CMakeLists.txt

index e1657416f4a89ee2ad055c231d17f1302b93f167..89c345d4990d57ab284628214b32ca5d46b9b4c0 100644 (file)
@@ -29,7 +29,7 @@ ENDIF(SCOTCH_ROOT_DIR)
 FIND_LIBRARY(SCOTCH_LIBRARIES scotch)
 FIND_LIBRARY(SCOTCH_ERR_LIBRARIES scotcherr)
 SET(SCOTCH_LIBRARIES ${SCOTCH_LIBRARIES} ${SCOTCH_ERR_LIBRARIES})
-FIND_PATH(SCOTCH_INCLUDE_DIRS scotch.h)
+FIND_PATH(SCOTCH_INCLUDE_DIRS scotch.h PATH_SUFFIXES "/scotch")
 
 INCLUDE(FindPackageHandleStandardArgs)
 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Scotch REQUIRED_VARS SCOTCH_INCLUDE_DIRS SCOTCH_LIBRARIES)
index 6a773cb4983848514006c45ff583e4734c2aa98f..a87be78651f74b02f23ba30837b263d5ad3bc8c7 100644 (file)
@@ -53,8 +53,8 @@ INCLUDE_DIRECTORIES(
   ${CMAKE_CURRENT_BINARY_DIR}/dialogs
   ${CMAKE_CURRENT_SOURCE_DIR}/../cmp
   ${CMAKE_CURRENT_SOURCE_DIR}/../../MEDGUI
-  ${CMAKE_PROJECT_DIR}/idl
-  ${CMAKE_PROJECT_DIR}
+  ${PROJECT_BINARY_DIR}/idl
+  ${PROJECT_BINARY_DIR}
 )
 
 SET(MEDOPGUITS_SOURCES