File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ target_include_directories(Calc PRIVATE .)
25
25
26
26
target_compile_features (Calc PRIVATE cxx_std_11)
27
27
28
- if (UNIX )
28
+ if (UNIX AND NOT APPLE )
29
29
target_compile_options (Calc PUBLIC -fPIC)
30
30
target_link_libraries (Calc INTERFACE "-Wl,--no-undefined" )
31
31
elseif (APPLE )
32
32
target_compile_options (Calc PUBLIC -stdlib=libc++)
33
- endif (UNIX )
33
+ endif (UNIX AND NOT APPLE )
34
34
35
35
if (RR_USE_OPENCL)
36
36
target_link_libraries (Calc PUBLIC CLW)
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ endif (RR_USE_VULKAN)
190
190
191
191
target_compile_features (RadeonRays PRIVATE cxx_std_14)
192
192
193
- if (UNIX )
193
+ if (UNIX AND NOT APPLE )
194
194
target_compile_options (RadeonRays PUBLIC -msse4.2 -fPIC)
195
195
target_link_libraries (RadeonRays INTERFACE "-Wl,--no-undefined" )
196
196
@@ -201,6 +201,6 @@ if (UNIX)
201
201
set_target_properties (RadeonRays PROPERTIES SOVERSION ${RR_API_VERSION} )
202
202
elseif (APPLE )
203
203
target_compile_options (RadeonRays PUBLIC -stdlib=libc++)
204
- endif (UNIX )
204
+ endif (UNIX AND NOT APPLE )
205
205
206
206
You can’t perform that action at this time.
0 commit comments