Fixed paths for externals

This commit is contained in:
Guilhem Lavaux 2017-01-16 14:00:50 +01:00
parent a869335472
commit 6b08293d0e
2 changed files with 6 additions and 6 deletions

View File

@ -260,13 +260,13 @@ ENDIF(INTERNAL_EIGEN)
SET(cosmotool_DEPS ${cosmotool_DEPS} omptl) SET(cosmotool_DEPS ${cosmotool_DEPS} omptl)
SET(OMPTL_BUILD_DIR ${BUILD_PREFIX}/omptl-prefix) SET(OMPTL_BUILD_DIR ${BUILD_PREFIX}/omptl-prefix/src/omptl)
ExternalProject_Add(omptl ExternalProject_Add(omptl
PREFIX ${OMPTL_BUILD_DIR} PREFIX ${BUILD_PREFIX}/omptl-prefix
URL ${CMAKE_SOURCE_DIR}/external/omptl-20120422.tar.bz2 URL ${CMAKE_SOURCE_DIR}/external/omptl-20120422.tar.bz2
CONFIGURE_COMMAND echo "No configure" CONFIGURE_COMMAND echo "No configure"
BUILD_COMMAND echo "No build" BUILD_COMMAND echo "No build"
INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory ${OMPTL_BUILD_DIR}/src/omptl ${CMAKE_BINARY_DIR}/external/stage/include/omptl INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory ${OMPTL_BUILD_DIR} ${CMAKE_BINARY_DIR}/ext_install/include/omptl
) )
include_directories(${OMPTL_BUILD_DIR}/src/) ##include_directories(${OMPTL_BUILD_DIR}/src/)

View File

@ -110,6 +110,6 @@ endif (BUILD_SHARED_LIBS)
install(DIRECTORY . DESTINATION include/CosmoTool install(DIRECTORY . DESTINATION include/CosmoTool
FILES_MATCHING PATTERN "*.hpp") FILES_MATCHING PATTERN "*.hpp")
install(DIRECTORY ${OMPTL_BUILD_DIR} install(DIRECTORY ${OMPTL_BUILD_DIR}
DESTINATION include/CosmoTool/omptl) DESTINATION include/CosmoTool)
install(DIRECTORY . DESTINATION include/CosmoTool install(DIRECTORY . DESTINATION include/CosmoTool
FILES_MATCHING PATTERN "*.tcc") FILES_MATCHING PATTERN "*.tcc")