mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:19:00 +08:00
2e18a52428
* [magnum] Fix feature glfwapplication find glfw failed * update version * update portfile.cmake * update version * update portfile.cmake * update version * update version * update version * More double quotes * version Co-authored-by: Lily Wang <v-lilywang@microsoft.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
17 lines
816 B
Diff
17 lines
816 B
Diff
diff --git a/modules/FindMagnum.cmake b/modules/FindMagnum.cmake
|
|
index 8761448..17321af 100644
|
|
--- a/modules/FindMagnum.cmake
|
|
+++ b/modules/FindMagnum.cmake
|
|
@@ -647,9 +647,9 @@ foreach(_component ${Magnum_FIND_COMPONENTS})
|
|
|
|
# GLFW application dependencies
|
|
elseif(_component STREQUAL GlfwApplication)
|
|
- find_package(GLFW)
|
|
+ find_package(glfw3 CONFIG REQUIRED)
|
|
set_property(TARGET Magnum::${_component} APPEND PROPERTY
|
|
- INTERFACE_LINK_LIBRARIES GLFW::GLFW)
|
|
+ INTERFACE_LINK_LIBRARIES glfw)
|
|
# Use the Foundation framework on Apple to query the DPI awareness
|
|
if(CORRADE_TARGET_APPLE)
|
|
find_library(_MAGNUM_APPLE_FOUNDATION_FRAMEWORK_LIBRARY Foundation)
|