mirror of
https://github.com/sstefani/mtrace.git
synced 2025-12-06 16:56:41 +08:00
Remove IPO disabled artefacts.
This commit is contained in:
parent
42e3f9ad79
commit
935c0cff36
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.9)
|
cmake_minimum_required(VERSION 3.5)
|
||||||
set(MT "mtrace-ng")
|
set(MT "mtrace-ng")
|
||||||
project(${MT} C)
|
project(${MT} C)
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ include(CheckFunctionExists)
|
|||||||
include(CheckIncludeFile)
|
include(CheckIncludeFile)
|
||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
include(CheckIPOSupported)
|
#include(CheckIPOSupported)
|
||||||
|
|
||||||
include(${CMAKE_SOURCE_DIR}/Utilities.cmake)
|
include(${CMAKE_SOURCE_DIR}/Utilities.cmake)
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ set(CMAKE_EXE_LINKER_FLAGS_LTO "${CMAKE_LINKER_FLAGS_RELEASE} -flto")
|
|||||||
|
|
||||||
add_compile_options(-Wall -Wextra -Werror -Werror -Wno-implicit-fallthrough)
|
add_compile_options(-Wall -Wextra -Werror -Werror -Wno-implicit-fallthrough)
|
||||||
|
|
||||||
check_ipo_supported(RESULT IPO)
|
#check_ipo_supported(RESULT IPO)
|
||||||
#if (IPO)
|
#if (IPO)
|
||||||
# set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
# set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||||
#endif()
|
#endif()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user