Skip to content

Commit

Permalink
build: fix submodule check
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Pospesel committed Feb 29, 2024
1 parent 30eeaa7 commit 0816393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/extern/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Catch2)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Catch2/CMakeLists.txt)
add_subdirectory(Catch2)
endif()

if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/json)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/json/CMakeLists.txt)
set(JSON_Install OFF CACHE INTERNAL "")
add_subdirectory(json)
endif()
2 changes: 1 addition & 1 deletion source/test/functional/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
find_package(Boost 1.66.0)

if (NOT TARGET Catch2::Catch2WithMain)
message(WARNING "Catch2 3 or newer not found; will not build gosling_unit_test")
message(WARNING "Catch2 3 or newer not found; will not build gosling_functional_test")
elseif (NOT Boost_FOUND)
message(WARNING "Boost 1.66 or newer not found; will not build gosling_functional_test")
else()
Expand Down

0 comments on commit 0816393

Please sign in to comment.