Skip to content

Commit

Permalink
release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakoff committed Jun 25, 2024
1 parent 7e7d8e5 commit 912eee9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ if (${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
message(FATAL_ERROR "In-source builds are not allowed")
endif ()

################ GREEN RELEASE VERSION #####################
set(GREEN_RELEASE origin/main)

set(CMAKE_CXX_STANDARD 17)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
Expand Down
2 changes: 1 addition & 1 deletion cmake/GreenDeps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function(add_green_dependency TARGET)
FetchContent_Declare(
${TARGET}
GIT_REPOSITORY https://github.com/Green-Phys/${TARGET}.git
GIT_TAG origin/main # or a later release
GIT_TAG ${GREEN_RELEASE} # or a later release
)

FetchContent_MakeAvailable(${TARGET})
Expand Down

0 comments on commit 912eee9

Please sign in to comment.