summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-16 10:18:07 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-16 10:18:07 (GMT)
commit471eabe09b7ef9430d67371459dd2aa2137aef3f (patch)
tree300f953946125ca20fea5f844e736eb572833e54
parentc9a2b14113826368f7c8e1476de5252b525a58d6 (diff)
parentef029a1b1bc31d9cd228b833ba6b301af0384378 (diff)
downloadlz4-471eabe09b7ef9430d67371459dd2aa2137aef3f.zip
lz4-471eabe09b7ef9430d67371459dd2aa2137aef3f.tar.gz
lz4-471eabe09b7ef9430d67371459dd2aa2137aef3f.tar.bz2
Merge pull request #60 from Cyberunner23/master
Removed checking of CMAKE_SYSTEM_PROCESSOR when adding -fPIC, breaks whe...
-rw-r--r--cmake_unofficial/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake_unofficial/CMakeLists.txt b/cmake_unofficial/CMakeLists.txt
index 4c0878a..7caffca 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/)