mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
Tests/RunCMake/property_init: Fix ENABLE_EXPORTS target type lists
The `ENABLE_EXPORTS` checks passed `executable_target` and `shared_library_target` to `run_property_tests`, but only `executable` was prepared, so no targets were ever checked.
This commit is contained in:
1 parent
a4d3c8b625
commit
825a52a64e
1 file changed
+4
-1
@@ -20,9 +20,12 @@ set(properties
|
||||
"ENABLE_EXPORTS" "OFF" "<SAME>"
|
||||
)
|
||||
|
||||
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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user