Add pkgconfig dependency for GLFW_VULKAN_STATIC

master
Camilla Löwy ago%!(EXTRA string=6 years)
parent 93962ec168
commit bd23be2594
  1. 7
      CMakeLists.txt

@ -292,6 +292,13 @@ if (_GLFW_COCOA)
set(glfw_PKG_LIBS "-framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo")
endif()
#--------------------------------------------------------------------
# Add the Vulkan loader as a dependency if necessary
#--------------------------------------------------------------------
if (GLFW_VULKAN_STATIC)
list(APPEND glfw_PKG_DEPS "vulkan")
endif()
#--------------------------------------------------------------------
# Export GLFW library dependencies
#--------------------------------------------------------------------

Loading…
Cancel
Save