Skip to content

Commit 9683ef9

Browse files
author
Mark Miesch
authored
Hotfix/repo name (#97)
* bugfix for repo name in finding git tag * jedicmake bugfix * bugfix
1 parent dc56a40 commit 9683ef9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ include( ${PROJECT_NAME}_compiler_flags )
2525

2626
## Dependencies
2727
# Required
28-
find_package( jedicmake QUIET ) # Prefer find modules from jedi-cmake
28+
find_package( jedicmake REQUIRED ) # Prefer find modules from jedi-cmake
2929
find_package( OpenMP REQUIRED COMPONENTS Fortran )
3030
find_package( MPI REQUIRED COMPONENTS Fortran )
3131
find_package( NetCDF REQUIRED COMPONENTS Fortran )

test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
55

66
# use find_branch functionn in jedi-cmake
7-
include( ${CMAKE_SOURCE_DIR}/jedicmake/cmake/Functions/git_functions.cmake )
7+
include( git_functions )
88

99
# Default SABER_TEST_TIER
1010
set( SABER_TEST_TIER 1 )
@@ -191,7 +191,7 @@ if ( DEFINED ENV{SABER_TESTFILES_BRANCH} )
191191
set( GIT_BRANCH_SABER $ENV{SABER_TESTFILES_BRANCH} )
192192
message( STATUS "Branch name provided by user: ${GIT_BRANCH_SABER}" )
193193
else()
194-
find_branch_name(REPO_DIR_NAME ${repo})
194+
find_branch_name(REPO_DIR_NAME saber)
195195
if( DEFINED GIT_TAG_FUNC )
196196
set( GIT_BRANCH_SABER ${GIT_TAG_FUNC} ) # Tag is checked out
197197
message( STATUS "SABER is in tag: ${GIT_BRANCH_SABER}" )

0 commit comments

Comments
 (0)