Merge pull request #1026 from glebm/patch-1
cmake: Allow passing LTO option
This commit is contained in:
commit
b330920c11
@ -30,6 +30,9 @@ if(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0017 NEW)
|
||||
endif()
|
||||
|
||||
# INTERPROCEDURAL_OPTIMIZATION is enforced when enabled.
|
||||
# Allows passing -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
|
||||
cmake_policy(SET CMP0069 NEW)
|
||||
endif()
|
||||
|
||||
IF(APPLE)
|
||||
|
Loading…
Reference in New Issue
Block a user