summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2022-02-17 15:25:49 -0700
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-03-09 15:06:30 -0700
commit7420e67f7bb1ad724495c1c9219cd091902dcd64 (patch)
tree24cfa85fda5c26371bebeaccc725ace001fb68ae
parent2ceafb359b12f63ed9ad61694628e32cb90b7d7e (diff)
downloadVulkan-Loader-7420e67f7bb1ad724495c1c9219cd091902dcd64.tar.gz
Vulkan-Loader-7420e67f7bb1ad724495c1c9219cd091902dcd64.tar.bz2
Vulkan-Loader-7420e67f7bb1ad724495c1c9219cd091902dcd64.zip
Fix macOS CMake errors
Used incorrect syntax for CONFIGURE_DEPENDS.
-rw-r--r--loader/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index f748ff32..43a878f2 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -292,9 +292,9 @@ else()
# Use CONFIGURE_DEPENDS to ensure that if the header files are updated, this list is also updated
# Note: CONFIGURE_DEPENDS is a 3.12 feature - gate it for now and remove when CMake minimum version is higher
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
- file(GLOB_RECURSE FRAMEWORK_HEADERS ${VulkanHeaders_INCLUDE_DIRS} CONFIGURE_DEPENDS)
+ file(GLOB_RECURSE CONFIGURE_DEPENDS FRAMEWORK_HEADERS ${VulkanHeaders_INCLUDE_DIRS})
else()
- file(GLOB_RECURSE FRAMEWORK_HEADERS ${VulkanHeaders_INCLUDE_DIRS} CONFIGURE_DEPENDS)
+ file(GLOB_RECURSE FRAMEWORK_HEADERS ${VulkanHeaders_INCLUDE_DIRS})
endif()
if(BUILD_STATIC_LOADER)
add_library(vulkan-framework STATIC ${NORMAL_LOADER_SRCS} ${OPT_LOADER_SRCS} ${FRAMEWORK_HEADERS})