File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -163,11 +163,11 @@ target_link_libraries(RadeonRays PUBLIC Calc Threads::Threads)
163
163
target_compile_definitions (RadeonRays PRIVATE EXPORT_API )
164
164
165
165
if (RR_SAFE_MATH )
166
- target_compile_definitions (RadeonRays PRIVATE USE_SAFE_MATH=1 )
166
+ target_compile_definitions (RadeonRays PUBLIC USE_SAFE_MATH=1 )
167
167
endif (RR_SAFE_MATH )
168
168
169
169
if (RR_USE_EMBREE )
170
- target_compile_definitions (RadeonRays PRIVATE USE_EMBREE=1 )
170
+ target_compile_definitions (RadeonRays PUBLIC USE_EMBREE=1 )
171
171
target_link_libraries (RadeonRays PUBLIC ${EMBREE_LIB} )
172
172
endif (RR_USE_EMBREE )
173
173
@@ -177,6 +177,7 @@ endif (RR_ENABLE_RAYMASK)
177
177
178
178
if (RR_USE_OPENCL )
179
179
target_link_libraries (RadeonRays PUBLIC OpenCL::OpenCL )
180
+ target_compile_definitions (RadeonRays PUBLIC USE_OPENCL=1 )
180
181
endif (RR_USE_OPENCL )
181
182
182
183
if (RR_USE_VULKAN )
@@ -186,6 +187,7 @@ if (RR_USE_VULKAN)
186
187
PRIVATE ${RadeonRaysSDK_SOURCE_DIR} /Anvil/include )
187
188
188
189
target_link_libraries (RadeonRays PUBLIC Vulkan::Vulkan Anvil )
190
+ target_compile_definitions (RadeonRays PUBLIC USE_VULKAN=1 )
189
191
endif (RR_USE_VULKAN )
190
192
191
193
target_compile_features (RadeonRays PRIVATE cxx_std_14 )
You can’t perform that action at this time.
0 commit comments