mirror of
https://github.com/simple64/simple64.git
synced 2026-11-15 04:09:21 +01:00
update parallel rsp
This commit is contained in:
1 parent
d140244dcf
commit
654f2460b7
1 file changed
+2
-5
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.22)
|
||||
cmake_minimum_required(VERSION 3.26)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0")
|
||||
|
||||
project(parallel-rsp LANGUAGES CXX C)
|
||||
@@ -10,10 +10,7 @@ include_directories(../mupen64plus-core/src/api)
|
||||
add_definitions(-DM64P_PLUGIN_API)
|
||||
add_definitions(-DPARALLEL_INTEGRATION)
|
||||
|
||||
include(CheckIPOSupported)
|
||||
check_ipo_supported(RESULT ENABLE_IPO)
|
||||
|
||||
if(ENABLE_IPO AND (NOT CMAKE_BUILD_TYPE STREQUAL "Debug"))
|
||||
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
|
||||
message("Interprocedural optimizations enabled")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user