Skip to content

Commit

Permalink
[Config] Help for submodule init.
Browse files Browse the repository at this point in the history
  • Loading branch information
stdcm committed Nov 29, 2023
1 parent 3308b1e commit 9e0a8e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ set(USE_LANGUAGE_LAW ON)
set(ARCGEOSIM_FRAMEWORK_ROOT ${PROJECT_SOURCE_DIR}/common)
set(ARCGEOSIM_FRAMEWORK_BINARY_DIR ${PROJECT_BINARY_DIR}/common)

# check submodule is loaded
if (NOT EXISTS ${PROJECT_SOURCE_DIR}/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSim.cmake)
message(FATAL_ERROR "build-system not found, to update build-system submodule run the following command: "
"\n cd ${CMAKE_CURRENT_SOURCE_DIR}"
"\n git submodule update --init"
)
endif ()
# chargement du système de compilation
include(LoadArcGeoSim)

Expand Down

0 comments on commit 9e0a8e6

Please sign in to comment.