Skip to content

Commit ad1bb26

Browse files
style: pre-commit fixes
1 parent 2ecfcfd commit ad1bb26

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/pybind11Common.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,17 @@ if(CMAKE_VERSION VERSION_LESS 3.13)
7575
set_property(
7676
TARGET pybind11::python_link_helper
7777
APPEND
78-
PROPERTY INTERFACE_LINK_LIBRARIES "$<$<PLATFORM_ID:Darwin>:-undefined suppress -flat_namespace>")
78+
PROPERTY INTERFACE_LINK_LIBRARIES
79+
"$<$<PLATFORM_ID:Darwin>:-undefined suppress -flat_namespace>")
7980
else()
8081
# link_options was added in 3.13+
8182
# This is safer, because you are ensured the deduplication pass in CMake will not consider
8283
# these separate and remove one but not the other.
8384
set_property(
8485
TARGET pybind11::python_link_helper
8586
APPEND
86-
PROPERTY INTERFACE_LINK_OPTIONS "$<$<PLATFORM_ID:Darwin>:LINKER:-undefined,suppress,-flat_namespace>")
87+
PROPERTY INTERFACE_LINK_OPTIONS
88+
"$<$<PLATFORM_ID:Darwin>:LINKER:-undefined,suppress,-flat_namespace>")
8789
endif()
8890

8991
# ------------------------ Windows extras -------------------------

0 commit comments

Comments
 (0)