Browse Source

fix 32-bit windows build

Grant Limberg 5 years ago
parent
commit
b369d4b9a1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      CMakeLists.txt

+ 3 - 0
CMakeLists.txt

@@ -80,6 +80,9 @@ if(WIN32)
 		add_compile_options(
 			-m32
 		)
+		add_link_options(
+			-m32
+		)
 	endif(BUILD_32BIT)
 else(WIN32)