mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 00:49:48 +00:00
Replace ad-hoc CMake code with DEFINE_SYMBOL
This target property does what we were doing manually.
This commit is contained in:
@@ -84,6 +84,7 @@ set_target_properties(glfw PROPERTIES
|
||||
SOVERSION ${GLFW_VERSION_MAJOR}
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
C_STANDARD 99
|
||||
DEFINE_SYMBOL _GLFW_BUILD_DLL
|
||||
FOLDER "GLFW3")
|
||||
|
||||
target_compile_definitions(glfw PRIVATE _GLFW_USE_CONFIG_H)
|
||||
|
||||
Reference in New Issue
Block a user