diff --git a/Tests/RunCMake/property_init/TargetsWithExports.cmake b/Tests/RunCMake/property_init/TargetsWithExports.cmake index 9b2e2136e4..93b1f3b329 100644 --- a/Tests/RunCMake/property_init/TargetsWithExports.cmake +++ b/Tests/RunCMake/property_init/TargetsWithExports.cmake @@ -20,9 +20,12 @@ set(properties "ENABLE_EXPORTS" "OFF" "" ) -prepare_target_types(executable +prepare_target_types(executable_target EXECUTABLE IMPORTED_EXECUTABLE) +prepare_target_types(shared_library_target + SHARED + IMPORTED_SHARED) set(iteration "-ENABLE_EXPORTS") run_property_tests(executable_target properties)