summaryrefslogtreecommitdiffstats
path: root/cmake_unofficial/CMakeLists.txt
diff options
context:
space:
mode:
authorCyberunner23 <narutoxela@gmail.com>2015-03-15 22:08:32 (GMT)
committerCyberunner23 <narutoxela@gmail.com>2015-03-15 22:08:32 (GMT)
commitef029a1b1bc31d9cd228b833ba6b301af0384378 (patch)
tree44d620b02ed81d3ae910782f3d07d54ee96c9a84 /cmake_unofficial/CMakeLists.txt
parente25b51de7b51101e04ceea194dd557fcc23c03ca (diff)
downloadlz4-ef029a1b1bc31d9cd228b833ba6b301af0384378.zip
lz4-ef029a1b1bc31d9cd228b833ba6b301af0384378.tar.gz
lz4-ef029a1b1bc31d9cd228b833ba6b301af0384378.tar.bz2
Removed checking of CMAKE_SYSTEM_PROCESSOR when adding -fPIC, breaks when that var is '64bit'.
Diffstat (limited to 'cmake_unofficial/CMakeLists.txt')
-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 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/)