flto
This commit is contained in:
parent
de3df9ffa7
commit
2bc0a852ca
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
project(PDP-11)
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
@ -21,6 +21,10 @@ add_executable(
|
|||
utils.cpp
|
||||
)
|
||||
|
||||
include(CheckIPOSupported)
|
||||
check_ipo_supported(RESULT supported)
|
||||
|
||||
#set(CMAKE_BUILD_TYPE RelWithDebInfo)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
|
||||
|
|
Loading…
Add table
Reference in a new issue