From: Charles Giessen Date: Wed, 16 Feb 2022 19:27:13 +0000 (-0700) Subject: Format unix fallback paths in CMakeLists.txt X-Git-Tag: upstream/1.3.208~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d2911ed2d347a678c2a0879fa0a9e809b0916df;p=platform%2Fupstream%2FVulkan-Loader.git Format unix fallback paths in CMakeLists.txt --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 595fcabd..6d30924b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,24 +186,12 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON) set(LOADER_HELPER_FOLDER "Helper Targets") if(UNIX) - set( - FALLBACK_CONFIG_DIRS "/etc/xdg" - CACHE - STRING - "Search path to use when XDG_CONFIG_DIRS is unset or empty or the current process is SUID/SGID. Default is freedesktop compliant." - ) - set( - FALLBACK_DATA_DIRS "/usr/local/share:/usr/share" - CACHE - STRING - "Search path to use when XDG_DATA_DIRS is unset or empty or the current process is SUID/SGID. Default is freedesktop compliant." - ) - set( - SYSCONFDIR "" - CACHE - STRING - "System-wide search directory. If not set or empty, CMAKE_INSTALL_FULL_SYSCONFDIR and /etc are used." - ) + set(FALLBACK_CONFIG_DIRS "/etc/xdg" CACHE STRING + "Search path to use when XDG_CONFIG_DIRS is unset or empty or the current process is SUID/SGID. Default is freedesktop compliant.") + set(FALLBACK_DATA_DIRS "/usr/local/share:/usr/share" CACHE STRING + "Search path to use when XDG_DATA_DIRS is unset or empty or the current process is SUID/SGID. Default is freedesktop compliant.") + set(SYSCONFDIR "" CACHE STRING + "System-wide search directory. If not set or empty, CMAKE_INSTALL_FULL_SYSCONFDIR and /etc are used.") endif() if(UNIX AND NOT APPLE) # i.e.: Linux