diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index bf1f7b2..218a65a 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -1,14 +1,14 @@ if ( ROSA_COMPILER_IS_GCC_COMPATIBLE ) # Allow exceptions by removing restricting flag (needed by cxxopts) remove("-fno-exceptions" CMAKE_CXX_FLAGS) # Allow dynamic casts by removing restriction flag (needed by cxxopts) remove("-fno-rtti" CMAKE_CXX_FLAGS) endif() -execute_process(COMMAND git submodule update --init -- cxxopts +execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) # Add the different subdirectories ADDALLSUBDIRS()