Mark CMake library variables as advanced

This commit is contained in:
Janek Bevendorff 2017-02-26 18:39:03 +01:00
parent 0a85279bcb
commit 6125988f35
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

View File

@ -24,6 +24,4 @@ set(YUBIKEY_LIBRARIES ${YUBIKEY_CORE_LIBRARY} ${YUBIKEY_PERS_LIBRARY})
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(YubiKey DEFAULT_MSG YUBIKEY_LIBRARIES YUBIKEY_INCLUDE_DIRS) find_package_handle_standard_args(YubiKey DEFAULT_MSG YUBIKEY_LIBRARIES YUBIKEY_INCLUDE_DIRS)
# TODO: Is mark_as_advanced() necessary? It's used in many examples with mark_as_advanced(YUBIKEY_LIBRARIES YUBIKEY_INCLUDE_DIRS)
# little explanation. Disable for now in favor of simplicity.
#mark_as_advanced(YUBIKEY_LIBRARIES YUBIKEY_INCLUDE_DIRS)