mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Include GLFW_DLL in interface definitions
This commit is contained in:
parent
cd373545b0
commit
ccd7ec0120
@ -72,6 +72,7 @@ set_target_properties(glfw PROPERTIES
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
if (WIN32)
|
||||
target_compile_definitions(glfw INTERFACE -DGLFW_DLL)
|
||||
# The GLFW DLL needs a special compile-time macro and import library name
|
||||
set_target_properties(glfw PROPERTIES PREFIX "" IMPORT_PREFIX "")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user