CMake: add library aliases using wx:: namespace

This commit is contained in:
Maarten Bent
2020-05-17 19:41:33 +02:00
parent 498b79d619
commit 0c2d05f52f
2 changed files with 14 additions and 0 deletions

View File

@@ -14,6 +14,11 @@ if(POLICY CMP0025)
cmake_policy(SET CMP0025 NEW)
endif()
if(POLICY CMP0028)
# Double colon in target name means ALIAS or IMPORTED target.
cmake_policy(SET CMP0028 NEW)
endif()
if(POLICY CMP0038)
# targets may not link directly to themselves
cmake_policy(SET CMP0038 NEW)