From ef029a1b1bc31d9cd228b833ba6b301af0384378 Mon Sep 17 00:00:00 2001 From: Cyberunner23 Date: Sun, 15 Mar 2015 18:08:32 -0400 Subject: Removed checking of CMAKE_SYSTEM_PROCESSOR when adding -fPIC, breaks when that var is '64bit'. --- cmake_unofficial/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake_unofficial/CMakeLists.txt b/cmake_unofficial/CMakeLists.txt index bb7ab5f..64c7881 100644 --- a/cmake_unofficial/CMakeLists.txt +++ b/cmake_unofficial/CMakeLists.txt @@ -18,9 +18,7 @@ option(BUILD_TOOLS "Build the command line tools" ON) option(BUILD_LIBS "Build the libraries in addition to the tools" OFF) if(UNIX AND BUILD_LIBS) - if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") - add_definitions(-fPIC) - endif(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") + add_definitions(-fPIC) endif() set(LZ4_DIR ../lib/) -- cgit v0.12