Skip to content

Commit

Permalink
be strictly paranoid for Template Janitor github action!
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Apr 3, 2022
1 parent f159cac commit 9203a2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ if(PROJECT_IS_TOP_LEVEL OR TEST_INSTALLED_VERSION)
enable_testing()

find_package(myproject CONFIG REQUIRED) # for intro, project_options, ...

if(NOT TARGET myproject::project_options)
message(FATAL_ERROR "Requiered config package not found!")
return() # be strictly paranoid for Template Janitor github action! CK
endif()
endif()

# ---- Dependencies ----
Expand Down

0 comments on commit 9203a2e

Please sign in to comment.