mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-19 12:07:11 +02:00
Experimenting with LTO.
This commit is contained in:
1 parent
4e5aa5a292
commit
5eabcab3a5
13 files changed
+63
-3
No files matched your search
+4
@@ -9,3 +9,7 @@ add_library(WhirlpoolLib STATIC
|
||||
# Configure include folders
|
||||
target_include_directories(WhirlpoolLib PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
||||
target_include_directories(WhirlpoolLib PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
# Enable LTO
|
||||
if (LTO_ENABLED)
|
||||
target_link_libraries(WhirlpoolLib PRIVATE -flto)
|
||||
endif()
|
||||
Reference in new issue
Block a user