mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-29 01:51:57 +00:00
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:
commit
7f7e844cfc
@ -143,7 +143,9 @@ if (MSVC)
|
||||
# add options from visual studio project
|
||||
target_compile_definitions (glew PRIVATE "GLEW_BUILD;VC_EXTRALEAN")
|
||||
target_compile_definitions (glew_s PRIVATE "GLEW_STATIC;VC_EXTRALEAN")
|
||||
target_link_libraries (glew LINK_PRIVATE -BASE:0x62AA0000)
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i?86|x86|x86_32)$")
|
||||
target_link_libraries (glew LINK_PRIVATE -BASE:0x62AA0000)
|
||||
endif()
|
||||
# kill security checks which are dependent on stdlib
|
||||
target_compile_options (glew PRIVATE -GS-)
|
||||
target_compile_options (glew_s PRIVATE -GS-)
|
||||
|
Loading…
Reference in New Issue
Block a user