External libs to external folder.
This commit is contained in:
parent
10fc282d78
commit
80981b1dd7
|
@ -12,10 +12,14 @@ else()
|
|||
set(UPDATE_DISCONNECTED_IF_AVAILABLE "UPDATE_DISCONNECTED 1")
|
||||
endif()
|
||||
|
||||
##Create directory for the external libraries
|
||||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build/external)
|
||||
|
||||
##vcglib devel branch
|
||||
download_project(PROJ vcglib_devel
|
||||
GIT_REPOSITORY https://github.com/cnr-isti-vclab/vcglib.git
|
||||
GIT_TAG devel
|
||||
PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/build/external/
|
||||
${UPDATE_DISCONNECTED_IF_AVAILABLE}
|
||||
)
|
||||
|
||||
|
@ -23,6 +27,7 @@ download_project(PROJ vcglib_devel
|
|||
download_project(PROJ MATPLOTPLUSPLUS
|
||||
GIT_REPOSITORY https://github.com/alandefreitas/matplotplusplus
|
||||
GIT_TAG master
|
||||
PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/build/external/
|
||||
${UPDATE_DISCONNECTED_IF_AVAILABLE}
|
||||
)
|
||||
add_subdirectory(${MATPLOTPLUSPLUS_SOURCE_DIR})
|
||||
|
@ -31,6 +36,7 @@ add_subdirectory(${MATPLOTPLUSPLUS_SOURCE_DIR})
|
|||
download_project(PROJ POLYSCOPE
|
||||
GIT_REPOSITORY https://github.com/nmwsharp/polyscope.git
|
||||
GIT_TAG master
|
||||
PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/build/external/
|
||||
${UPDATE_DISCONNECTED_IF_AVAILABLE}
|
||||
)
|
||||
add_subdirectory(${POLYSCOPE_SOURCE_DIR})
|
||||
|
@ -39,6 +45,7 @@ add_subdirectory(${POLYSCOPE_SOURCE_DIR})
|
|||
download_project(PROJ BOBYQA
|
||||
GIT_REPOSITORY https://github.com/elsid/bobyqa-cpp.git
|
||||
GIT_TAG master
|
||||
PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/build/external/
|
||||
${UPDATE_DISCONNECTED_IF_AVAILABLE}
|
||||
)
|
||||
add_subdirectory(${BOBYQA_SOURCE_DIR})
|
||||
|
|
Loading…
Reference in New Issue