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()
|
||||
|
||||
# enable link time optimization
|
||||
include(CheckIPOSupported)
|
||||
check_ipo_supported(RESULT result)
|
||||
if(result)
|
||||
message(STATUS "LTO enabled")
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
# include(CheckIPOSupported)
|
||||
# check_ipo_supported(RESULT result)
|
||||
# if(result)
|
||||
# message(STATUS "LTO enabled")
|
||||
# set_target_properties(${PROJECT_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
# endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user