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)
${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