Skip to content

Commit 9b13957

Browse files
committed
Add call to check_required_components()
1 parent 0bfef45 commit 9b13957

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cmake/rsp-cmake-scripts-config.cmake.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@
33
message(NOTICE "RSP CMake Scripts Config file...")
44

55
# TODO: Test of variable...
6-
set(RSP_FOO "bar" PARENT_SCOPE)
6+
set(RSP_FOO "bar" PARENT_SCOPE)
7+
8+
# "[...] should be called at the end of the package configuration file even if the package does not have any
9+
# components. [...]"
10+
# @see https://cmake.org/cmake/help/git-stage/guide/importing-exporting/index.html#creating-a-package-configuration-file
11+
check_required_components("rsp-cmake-scripts")

0 commit comments

Comments
 (0)