mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 12:18:51 -05:00
parent
617a322bd8
commit
bf6551a3ca
|
@ -27,11 +27,6 @@ if (WIN32)
|
|||
"$ENV{VULKAN_SDK}/Bin32"
|
||||
"$ENV{VK_SDK_PATH}/Bin32")
|
||||
endif()
|
||||
elseif (APPLE)
|
||||
find_library(VULKAN_LIBRARY vulkan.1 HINTS
|
||||
"$ENV{VULKAN_SDK}/macOS/lib")
|
||||
find_path(VULKAN_INCLUDE_DIR NAMES vulkan/vulkan.h HINTS
|
||||
"$ENV{VULKAN_SDK}/macOS/include")
|
||||
else()
|
||||
find_path(VULKAN_INCLUDE_DIR NAMES vulkan/vulkan.h HINTS
|
||||
"$ENV{VULKAN_SDK}/include")
|
||||
|
|
|
@ -44,12 +44,14 @@ a compile-time error.
|
|||
@macos Because the Vulkan loader and ICD are not installed globally on macOS,
|
||||
you need to set up the application bundle according to the LunarG SDK
|
||||
documentation. To help the GLFW CMake files find the SDK, you can set the
|
||||
`VULKAN_SDK` environment variable.
|
||||
`VULKAN_SDK` environment variable to the `macOS` subdirectory of the SDK.
|
||||
|
||||
@code{.sh}
|
||||
env VULKAN_SDK=/example/path/to/vulkansdk-macos cmake .
|
||||
env VULKAN_SDK=/example/path/to/vulkansdk/macOS cmake .
|
||||
@endcode
|
||||
|
||||
This is explained in more detail in the LunarG Vulkan SDK release notes.
|
||||
|
||||
|
||||
@section vulkan_include Including the Vulkan and GLFW header files
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user