mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Export transitive dependencies for static library
This commit is contained in:
committed by
Camilla Berglund
parent
8637612908
commit
453631773e
+3
-1
@@ -100,7 +100,9 @@ if (BUILD_SHARED_LIBS)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(glfw INTERFACE -DGLFW_DLL)
|
||||
target_link_libraries(glfw ${glfw_LIBRARIES})
|
||||
target_link_libraries(glfw PRIVATE ${glfw_LIBRARIES})
|
||||
else()
|
||||
target_link_libraries(glfw INTERFACE ${glfw_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
|
||||
Reference in New Issue
Block a user