Merge https://github.com/nigels-com/glew.git into master HEAD at Tue Apr 25 00:01:44 GMT 2023

This commit is contained in:
Gyusun 2023-04-25 00:01:44 +00:00
commit 7f7e844cfc

View File

@ -143,7 +143,9 @@ if (MSVC)
# add options from visual studio project # add options from visual studio project
target_compile_definitions (glew PRIVATE "GLEW_BUILD;VC_EXTRALEAN") target_compile_definitions (glew PRIVATE "GLEW_BUILD;VC_EXTRALEAN")
target_compile_definitions (glew_s PRIVATE "GLEW_STATIC;VC_EXTRALEAN") target_compile_definitions (glew_s PRIVATE "GLEW_STATIC;VC_EXTRALEAN")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i?86|x86|x86_32)$")
target_link_libraries (glew LINK_PRIVATE -BASE:0x62AA0000) target_link_libraries (glew LINK_PRIVATE -BASE:0x62AA0000)
endif()
# kill security checks which are dependent on stdlib # kill security checks which are dependent on stdlib
target_compile_options (glew PRIVATE -GS-) target_compile_options (glew PRIVATE -GS-)
target_compile_options (glew_s PRIVATE -GS-) target_compile_options (glew_s PRIVATE -GS-)