From 4a48266743db985e2fba00406312aaeba2e47c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Mon, 22 Apr 2013 16:32:08 -0400 Subject: [PATCH] cmake: fix 64-bit build with cmake 2.8.8 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 22c361b1a..78ba4ae0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,7 +151,7 @@ if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2") endif() - if(${CMAKE_VERSION} VERSION_LESS 2.8.8) + if(${CMAKE_VERSION} VERSION_LESS 2.8.9) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") endif() if(WITH_SSE2)