diff options
author | Roland Meertens <rolandmeertens@gmail.com> | 2016-11-25 15:16:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-25 15:16:40 +0300 |
commit | 0cf5c33bf57f4636f78b2e7b094a5b5f36587a85 (patch) | |
tree | d446db77e44ac9da93f57c6afdfc33bfd3b62e3f | |
parent | cedae07edd554176520300fcfc820456e37e2537 (diff) |
Fix this problem: https://stackoverflow.com/questions/15193785/how-to-get-cmake-to-recognize-pthread-on-ubuntu
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index affd91ab..c5d83336 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5.1) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) -project(amunn CXX) +project(amunn C CXX) set(CMAKE_CXX_FLAGS_RELEASE "-std=c++14 -fPIC -O3 -Ofast -m64 -flto -march=native -funroll-loops -ffinite-math-only -Wno-unused-result -Wno-deprecated -pthread") set(CMAKE_CXX_FLAGS_DEBUG "-std=c++14 -fPIC -g -O0 -m64 -flto -march=native -funroll-loops -ffinite-math-only -Wno-unused-result -Wno-deprecated -pthread") |