Add GLFW_DLL to target interface

This commit is contained in:
Zbigniew Mandziejewicz
2016-02-02 00:52:55 +01:00
committed by Camilla Berglund
parent a247f7d797
commit 8637612908
3 changed files with 1 additions and 2 deletions
+1
View File
@@ -99,6 +99,7 @@ if (BUILD_SHARED_LIBS)
target_compile_options(glfw PRIVATE "-fvisibility=hidden")
endif()
target_compile_definitions(glfw INTERFACE -DGLFW_DLL)
target_link_libraries(glfw ${glfw_LIBRARIES})
endif()