summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 708ab28f..19e3cfd4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ project(cdec)
add_definitions(-DKENLM_MAX_ORDER=6 -DHAVE_CONFIG_H)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
-set(CMAKE_CXX_FLAGS "-Wall -std=c++11 -O3 -g -fPIC")
+set(CMAKE_CXX_FLAGS "-Wall -std=c++11 -O3 -g")
set(METEOR_JAR "" CACHE FILEPATH "Path to meteor.jar")
enable_testing()
@@ -43,9 +43,6 @@ endif(LIBLZMA_FOUND)
# for pycdec
find_package(PythonInterp 2.7 REQUIRED)
-# for pthread
-find_package(Threads REQUIRED)
-
# generate config.h
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)