We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1873cf2 commit 466c5fdCopy full SHA for 466c5fd
installtest/CMakeLists.txt
@@ -8,7 +8,12 @@ enable_testing()
8
9
# Find the installed package
10
set(OPTIONAL_INSTALL_DIR "../.install/lib/cmake/beman.optional")
11
-find_package(beman.optional REQUIRED PATHS ${OPTIONAL_INSTALL_DIR} NO_DEFAULT_PATH)
+find_package(
12
+ beman.optional
13
+ REQUIRED
14
+ PATHS ${OPTIONAL_INSTALL_DIR}
15
+ NO_DEFAULT_PATH
16
+)
17
18
# Add your test executable
19
add_executable(TestInstalledOptional test.cpp)
0 commit comments