mirror of
https://github.com/wownero/wownero.git
synced 2026-10-25 02:18:33 +01:00
cmake: enable linker-aware library de-duplication
This commit is contained in:
@@ -44,6 +44,14 @@ if (POLICY CMP0077)
|
|||||||
cmake_policy(SET CMP0077 NEW)
|
cmake_policy(SET CMP0077 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Let CMake de-duplicate link libraries according to linker/platform capabilities.
|
||||||
|
if (POLICY CMP0156)
|
||||||
|
cmake_policy(SET CMP0156 NEW)
|
||||||
|
endif()
|
||||||
|
if (POLICY CMP0179)
|
||||||
|
cmake_policy(SET CMP0179 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (IOS)
|
if (IOS)
|
||||||
INCLUDE(CmakeLists_IOS.txt)
|
INCLUDE(CmakeLists_IOS.txt)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user