We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c0fc2d commit c31dfa0Copy full SHA for c31dfa0
tutorials/minimal/CMakeLists.txt
@@ -27,7 +27,7 @@ ADD_EMBREE_GENERIC_CPP_TEST(minimal embree_minimal)
27
IF (EMBREE_SYCL_SUPPORT)
28
29
ADD_EXECUTABLE(embree_minimal_sycl minimal_sycl.cpp)
30
- TARGET_LINK_LIBRARIES(embree_minimal_sycl embree ze_wrapper)
+ TARGET_LINK_LIBRARIES(embree_minimal_sycl embree ze_wrapper {CMAKE_DL_LIBS})
31
SET_PROPERTY(TARGET embree_minimal_sycl APPEND PROPERTY COMPILE_FLAGS "-fsycl -Xclang -fsycl-allow-func-ptr -fsycl-targets=spir64")
32
SET_PROPERTY(TARGET embree_minimal_sycl APPEND PROPERTY LINK_FLAGS "-fsycl -fsycl-targets=spir64")
33
0 commit comments