Skip to content

Commit

Permalink
Merge branch 'update/cmake' into 'develop'
Browse files Browse the repository at this point in the history
Renaming release deps and removing develop deps

See merge request njoy/ENDFtk!2
  • Loading branch information
whaeck committed Oct 9, 2024
2 parents 6c6cb9d + d6261a8 commit 2cb6834
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 50 deletions.
20 changes: 2 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,8 @@ option( ENDFtk.installation "Install ENDFtk" ON )
# Dependencies
########################################################################

set( REPOSITORIES "release"
CACHE STRING
"Options for where to fetch repositories: develop, release, local"
)

message( STATUS "Using ${REPOSITORIES} repositories" )

if( REPOSITORIES STREQUAL "develop" )
include( cmake/develop_dependencies.cmake )

elseif( REPOSITORIES STREQUAL "release" )
include( cmake/release_dependencies.cmake )

elseif( REPOSITORIES STREQUAL "local" )
include( cmake/local_dependencies.cmake )

endif()

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/.cmake)
include( cmake/dependencies.cmake )

########################################################################
# Project targets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cmake_minimum_required( VERSION 3.27 )
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/.cmake)
include( FetchContent )

FetchContent_Declare( tools
Expand Down
31 changes: 0 additions & 31 deletions cmake/develop_dependencies.cmake

This file was deleted.

0 comments on commit 2cb6834

Please sign in to comment.