From ef7d12ecb7f1f336f6d3a80cebd6163b2c094108 Mon Sep 17 00:00:00 2001 From: NoamDev <37066741+NoamDev@users.noreply.github.com> Date: Sat, 7 Jan 2023 18:52:22 +0200 Subject: [PATCH] Added to .gitignore auto-checkout out repos --- build/cmake/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt index 281eed8..9afcf2a 100644 --- a/build/cmake/CMakeLists.txt +++ b/build/cmake/CMakeLists.txt @@ -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-)