mirror of
https://github.com/glfw/glfw.git
synced 2025-10-28 02:52:23 +00:00
Compare commits
2 Commits
2a0774eba6
...
258c6399dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
258c6399dc | ||
|
|
2d4d867a91 |
@ -252,7 +252,14 @@ elseif (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR
|
||||
endif()
|
||||
|
||||
if (GLFW_BUILD_WIN32)
|
||||
target_compile_definitions(glfw PRIVATE UNICODE _UNICODE)
|
||||
# If requested, create a C #define to set the app's window class name.
|
||||
# This class name is baked in at compile time.
|
||||
set(_GLFW_WCN "")
|
||||
if (GLFW_WNDCLASSNAME)
|
||||
set(_GLFW_WCN "_GLFW_WNDCLASSNAME=L\"${GLFW_WNDCLASSNAME}\"")
|
||||
endif()
|
||||
|
||||
target_compile_definitions(glfw PRIVATE UNICODE _UNICODE ${_GLFW_WCN})
|
||||
endif()
|
||||
|
||||
# Workaround for the MS CRT deprecating parts of the standard library
|
||||
|
||||
Loading…
Reference in New Issue
Block a user