mirror of
https://github.com/reactos/CMake.git
synced 2024-11-30 23:10:26 +00:00
Tests: Enable CMP0022 in ExportImport out-of-dir linking case
Since out-of-dir linking is enabled by CMP0079, which is newer than CMP0022, it is likely that both will be set in practice when out-of-dir linking is used.
This commit is contained in:
parent
710371ca2f
commit
ba675f1ecc
@ -156,6 +156,7 @@ target_link_libraries(testLibDepends PRIVATE testStaticLibRequiredPrivate)
|
||||
cmake_policy(POP)
|
||||
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(SET CMP0022 NEW)
|
||||
cmake_policy(SET CMP0079 NEW)
|
||||
add_library(TopDirLib STATIC testTopDirLib.c)
|
||||
add_subdirectory(SubDirLinkA)
|
||||
|
Loading…
Reference in New Issue
Block a user