Skip to content

Commit

Permalink
Fix for dependence on git even if the submodules were already checked…
Browse files Browse the repository at this point in the history
… out.
  • Loading branch information
Kevin-Kellner authored and DDvO committed Jan 9, 2025
1 parent 737e430 commit 2795d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ if(NOT YOCTO_BUILD)

# find_package(secutils ${CPACK_PACKAGE_VERSION})
if(NOT secutils_FOUND)
if(NOT EXISTS libsecutils/CMakeLists.txt)
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/libsecutils/CMakeLists.txt")
if(GIT_FOUND)
message(STATUS "fetching git submodule libsecutils")
execute_process(COMMAND
Expand All @@ -494,7 +494,7 @@ if(NOT YOCTO_BUILD)

# find_package(cmp ${CPACK_PACKAGE_VERSION})
if(DEFINED USE_LIBCMP AND NOT libcmp_FOUND)
if(NOT EXISTS cmpossl/CMakeLists.txt)
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/cmpossl/CMakeLists.txt")
if(GIT_FOUND)
message(STATUS "fetching git submodule cmpossl")
execute_process(COMMAND
Expand Down

0 comments on commit 2795d13

Please sign in to comment.