From fe9f4ad1fdc478db9c131babbfad354b36813e14 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 28 Sep 2013 06:37:03 +0000 Subject: [PATCH] fix dynamic build on 32 bit windows --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9171b64d7d..6ded4e1b33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1360,11 +1360,7 @@ if(ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC) # libgcc should be linkable statically with -static-libstdc++ and -static-libgcc but with # current mingw64 toolchain it does not work). Also, when cross-compilating find_program # does not work -> ask the compiler instead - if(HAVE_64BIT_SIZE_T) - find_program(GCC_DLL libgcc_s_sjlj-1.dll) - else(HAVE_64BIT_SIZE_T) - find_program(GCC_DLL libgcc_s_seh-1.dll) - endif(HAVE_64BIT_SIZE_T) + find_program(GCC_DLL libgcc_s_sjlj-1.dll) find_program(STDC_DLL libstdc++-6.dll) if(NOT GCC_DLL) if(HAVE_64BIT_SIZE_T) -- GitLab