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.
17 lines
504 B
17 lines
504 B
|
|
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
# when REGISTRY_VIEW is not specified, should not be defined in module
|
|
set (EXPECTED_REGISTRY_VIEW "UNDEFINED")
|
|
find_package(RegistryView)
|
|
|
|
# query package to check if variable is propagated correctly
|
|
set(EXPECTED_REGISTRY_VIEW "TARGET")
|
|
find_package(RegistryView REGISTRY_VIEW TARGET)
|
|
|
|
set(EXPECTED_REGISTRY_VIEW "64_32")
|
|
find_package(RegistryView REGISTRY_VIEW 64_32)
|
|
|
|
set(EXPECTED_REGISTRY_VIEW "32")
|
|
find_package(RegistryView REGISTRY_VIEW 32)
|