Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions cmake/Dependencies/clinfo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ include(GNUInstallDirs)
add_executable(clinfo src/clinfo.c)
target_include_directories(clinfo PRIVATE src)
target_link_libraries(clinfo PRIVATE OpenCL::OpenCL)
target_compile_definitions(clinfo PRIVATE
CL_TARGET_OPENCL_VERSION=300
CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES
)
target_compile_definitions(clinfo PRIVATE)
add_test(NAME clinfo COMMAND $<TARGET_FILE:clinfo>)

install(
Expand Down
119 changes: 0 additions & 119 deletions cmake/Dependencies/clinfo/ext.h

This file was deleted.

5 changes: 0 additions & 5 deletions cmake/Dependencies/clinfo/patch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_LIST_DIR}/CMak
if (NOT "${RESULT_VAR}" EQUAL "0")
message(FATAL_ERROR "Could not copy file with CMake")
endif()

execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_LIST_DIR}/ext.h" "${CMAKE_CURRENT_BINARY_DIR}/src/ext.h" RESULT_VARIABLE RESULT_VAR)
if (NOT "${RESULT_VAR}" EQUAL "0")
message(FATAL_ERROR "Could not copy file with CMake")
endif()
Loading