Skip to content
Snippets Groups Projects
Commit 7747d1c7 authored by mkirsz's avatar mkirsz
Browse files

Update

parent bd453998
No related branches found
No related tags found
1 merge request!2Develop
Pipeline #45003 failed
...@@ -46,10 +46,15 @@ endif() ...@@ -46,10 +46,15 @@ endif()
include(FetchContent) include(FetchContent)
#get_filename_component(BUILD_DIR_NAME ${CMAKE_BINARY_DIR} NAME) #get_filename_component(BUILD_DIR_NAME ${CMAKE_BINARY_DIR} NAME)
execute_process(
COMMAND git branch --show-current
OUTPUT_VARIABLE GIT_BRANCH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
FetchContent_Declare( FetchContent_Declare(
Tadah.MODELS Tadah.MODELS
GIT_REPOSITORY https://git.ecdf.ed.ac.uk/tadah/models.git GIT_REPOSITORY https://git.ecdf.ed.ac.uk/tadah/models.git
GIT_TAG origin/develop GIT_TAG origin/${GIT_BRANCH}
#SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../MODELS #SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../MODELS
#PATCH_COMMAND mkdir -p ${BUILD_DIR_NAME} #PATCH_COMMAND mkdir -p ${BUILD_DIR_NAME}
#BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../MODELS/${BUILD_DIR_NAME} #BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../MODELS/${BUILD_DIR_NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment