Skip to content

Commit d1dc237

Browse files
committed
Do not use linker scripts on MacOS
as it is not supported
1 parent bd552fb commit d1dc237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/helpers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function(add_umf_library)
114114

115115
if (WINDOWS)
116116
target_link_options(${ARG_NAME} PRIVATE /DEF:${ARG_WINDOWS_DEF_FILE})
117-
else()
117+
elseif(LINUX)
118118
target_link_options(${ARG_NAME} PRIVATE "-Wl,--version-script=${ARG_LINUX_MAP_FILE}")
119119
endif()
120120
endif()

0 commit comments

Comments
 (0)