Fixed paths for externals
This commit is contained in:
parent
a869335472
commit
6b08293d0e
8
external/external_build.cmake
vendored
8
external/external_build.cmake
vendored
@ -260,13 +260,13 @@ ENDIF(INTERNAL_EIGEN)
|
||||
|
||||
|
||||
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
|
||||
PREFIX ${OMPTL_BUILD_DIR}
|
||||
PREFIX ${BUILD_PREFIX}/omptl-prefix
|
||||
URL ${CMAKE_SOURCE_DIR}/external/omptl-20120422.tar.bz2
|
||||
CONFIGURE_COMMAND echo "No configure"
|
||||
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/)
|
||||
|
||||
|
@ -109,7 +109,7 @@ endif (BUILD_SHARED_LIBS)
|
||||
|
||||
install(DIRECTORY . DESTINATION include/CosmoTool
|
||||
FILES_MATCHING PATTERN "*.hpp")
|
||||
install(DIRECTORY ${OMPTL_BUILD_DIR}
|
||||
DESTINATION include/CosmoTool/omptl)
|
||||
install(DIRECTORY ${OMPTL_BUILD_DIR}
|
||||
DESTINATION include/CosmoTool)
|
||||
install(DIRECTORY . DESTINATION include/CosmoTool
|
||||
FILES_MATCHING PATTERN "*.tcc")
|
||||
|
Loading…
Reference in New Issue
Block a user