Skip to content
Snippets Groups Projects
Commit e8dd74d9 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

Python: simplify the Darwin platform check

parent 82c392a0
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ if (VTK_PYTHON_OPTIONAL_LINK)
set(should_use "$<OR:${is_exe},${direct_link}>")
set(platform_flags
# Apple flags.
"$<$<STREQUAL:$<PLATFORM_ID>,Darwin>:-undefined;dynamic_lookup>"
"$<$<PLATFORM_ID:Darwin>:-undefined;dynamic_lookup>"
# Linux flags.
# The linker is allowed to skip libraries not used by the end result. This
# can exclude the `libpython` DT_NEEDED entry at the final executable if it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment