From b369d4b9a1c8ffc04246dc67d0642bec6285e7f5 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 18 Jun 2020 13:01:05 -0700 Subject: [PATCH] fix 32-bit windows build --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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)