You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
154 B
6 lines
154 B
3 years ago
|
set(CMAKE_DISABLE_FIND_PACKAGE_Foo ON)
|
||
|
set(CMAKE_REQUIRE_FIND_PACKAGE_Foo ON)
|
||
|
|
||
|
find_package(Foo)
|
||
|
message(FATAL_ERROR "This error must not be reachable.")
|