mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-27 18:45:29 +03:00
Fix this problem: https://stackoverflow.com/questions/15193785/how-to-get-cmake-to-recognize-pthread-on-ubuntu
This commit is contained in:
parent
cedae07edd
commit
0cf5c33bf5
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user