diff --git a/CMakeLists.txt b/CMakeLists.txt index 57fa3b0..a78c198 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,8 @@ enable_testing() find_package(CatalogueAPI CONFIG QUIET) if (NOT CatalogueAPI_FOUND) - execute_process(COMMAND git submodule update --init external/CatalogueAPI WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) + execute_process(COMMAND git submodule init external/CatalogueAPI WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) + execute_process(COMMAND git submodule update external/CatalogueAPI WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) add_subdirectory(external/CatalogueAPI) endif() diff --git a/external/CatalogueAPI b/external/CatalogueAPI index 70f95c7..232c863 160000 --- a/external/CatalogueAPI +++ b/external/CatalogueAPI @@ -1 +1 @@ -Subproject commit 70f95c7d91c9a4e1ab52c427372757cc83a57de2 +Subproject commit 232c863d6217298caf06deafb1dd821063f9efdc