diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt index 370dffecf..f810f3be7 100644 --- a/Tests/ExportImport/Export/CMakeLists.txt +++ b/Tests/ExportImport/Export/CMakeLists.txt @@ -243,6 +243,7 @@ target_include_directories(cmp0022OLD PUBLIC ) cmake_policy(SET CMP0022 NEW) add_library(cmp0022NEW SHARED cmp0022_vs6_1.cpp) +set_property(TARGET cmp0022NEW PROPERTY DEFINE_SYMBOL cmp0022OLD_EXPORTS) target_include_directories(cmp0022NEW PUBLIC "$" "$/include/cmp0022>"