mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
7c3ac48202
commit
0a872143b8
@ -82,9 +82,9 @@ if(PK_EXPORT_CXX_SYMBOLS AND MSVC)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# enable link time optimization
|
# enable link time optimization
|
||||||
include(CheckIPOSupported)
|
# include(CheckIPOSupported)
|
||||||
check_ipo_supported(RESULT result)
|
# check_ipo_supported(RESULT result)
|
||||||
if(result)
|
# if(result)
|
||||||
message(STATUS "LTO enabled")
|
# message(STATUS "LTO enabled")
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
|
# set_target_properties(${PROJECT_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||||
endif()
|
# endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user