File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,17 +22,6 @@ mark_as_advanced(
2222 CUDA_rt_LIBRARY
2323 CMAKE_CUDA_HOST_COMPILER )
2424
25- if (APPLE )
26- find_package (X11 REQUIRED )
27- if (X11_FOUND AND NOT TARGET X11::x11)
28- add_library (X11::x11 UNKNOWN IMPORTED )
29- set_target_properties (X11::x11 PROPERTIES
30- IMPORTED_LINK_INTERFACE_LANGUAGE "C"
31- IMPORTED_LOCATION "${X11_X11_LIB} "
32- INTEFACE_INCLUDE_DIRECTORIES "${X11_INCLUDE_DIR} " )
33- endif ()
34- endif ()
35-
3625include (CMakeParseArguments )
3726include (CMakeDependentOption )
3827include (InternalUtils )
@@ -100,8 +89,7 @@ function(add_example target_name source backend)
10089 target_link_libraries (${target}
10190 OSCompileFlags
10291 Forge::forge
103- ${arg_LIBRARIES}
104- $<$<PLATFORM_ID :Darwin >:X11 ::x11 >)
92+ ${arg_LIBRARIES} )
10593endfunction ()
10694
10795add_subdirectory (cpu )
You can’t perform that action at this time.
0 commit comments