Commit 36828c9e authored by Alexis SALZMAN's avatar Alexis SALZMAN

Change CMake to use nex FastMarching location

parent 4852422c
Pipeline #169 skipped
......@@ -102,9 +102,9 @@ list(APPEND EXTERNAL_LIBRARIES
if(FASTMARCHINGINTERFACE)
add_definitions(-DHAVE_FASTMARCHING)
find_package(HamiltonJacobi)
list(APPEND EXTERNAL_INCLUDES ${HAMILTONJACOBI_INCLUDE_DIR})
list(APPEND EXTERNAL_LIBRARIES ${HAMILTONJACOBI_LIBRARIES})
find_package(FastMarching)
list(APPEND EXTERNAL_INCLUDES ${FASTMARCHING_INCLUDE_DIR})
#list(APPEND EXTERNAL_LIBRARIES ${FASTMARCHING_LIBRARIES})
set(CXXFLAGS "${CXXFLAGS} -std=c++11")
endif(FASTMARCHINGINTERFACE)
......
......@@ -34,9 +34,9 @@ add_subdirectory(${CMAKE_SOURCE_DIR}/Xfiles/MeshMachine/DistMesh ${CM
add_subdirectory(${CMAKE_SOURCE_DIR}/Xfiles/Xext ${CMAKE_BUILD_DIR}/Xext)
add_subdirectory(${CMAKE_SOURCE_DIR}/Xfiles/xTLS/trunk/xTLS ${CMAKE_BUILD_DIR}/xTLS)
add_subdirectory(${CMAKE_SOURCE_DIR}/Applis/TLSDuctile ${CMAKE_BUILD_DIR}/TLSDuctile)
if (FASTMARCHINGINTERFACE)
add_subdirectory(${CMAKE_SOURCE_DIR}/HamiltonJacobi ${CMAKE_BUILD_DIR}/HamiltonJacobi)
endif()
#if (FASTMARCHINGINTERFACE)
# add_subdirectory(${CMAKE_SOURCE_DIR}/Xfiles/FastMarching ${CMAKE_BUILD_DIR}/FastMarching)
#endif()
add_subdirectory(${CMAKE_SOURCE_DIR}/Xfiles/Geom ${CMAKE_BUILD_DIR}/Geom)
add_subdirectory(${CMAKE_SOURCE_DIR}/Xfiles/Xinterfaces ${CMAKE_BUILD_DIR}/Xinterfaces)
add_subdirectory(${CMAKE_SOURCE_DIR}/Xfiles/Util/eXlibris_tools ${CMAKE_BUILD_DIR}/eXlibris_tools)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment