4 message( WARNING "MGIS_DIR is not defined! MFront Interface will not be configured." )
8 find_library(MGIS_LIBRARY NAMES libMFrontGenericInterface.dylib libMFrontGenericInterface.so PATHS ${MGIS_DIR}/lib)
9 message(STATUS "MGIS_LIBRARY ${MGIS_LIBRARY}")
10 # find_path(MGIS_HEADER PATHS ${MGIS_DIR}/include/MGIS/)
11 add_library(MFrontGenericInterface SHARED IMPORTED)
12 set_target_properties(MFrontGenericInterface PROPERTIES IMPORTED_LOCATION ${MGIS_LIBRARY})
14 # include_directories(${MGIS_HEADER})
15 include_directories(${MGIS_DIR}/include)
16 include_directories(${MGIS_DIR}/lib)
17 add_definitions(-DWITH_MGIS)
22 message( WARNING "TFEL_DIR is not defined! Unable to compile material behaviour." )
26 message(STATUS "TFEL_DIR FOUND: ${TFEL_DIR}")