diff --git a/CMakeLists.txt b/CMakeLists.txt index 3615bb0a3..6b9119941 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,9 @@ if(WIN32) add_compile_options( -m32 ) + add_link_options( + -m32 + ) endif(BUILD_32BIT) else(WIN32)