diff --git a/opencl/CMakeLists.txt b/opencl/CMakeLists.txt index da53d0ac14..f8758f57ef 100644 --- a/opencl/CMakeLists.txt +++ b/opencl/CMakeLists.txt @@ -52,11 +52,11 @@ add_subdirectory(tools/bc2h) find_package(ROCR REQUIRED) add_subdirectory(runtime) -#set(OPENCL_INCLUDE_DIRS -# ${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers -# ${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.0) +set(OPENCL_INCLUDE_DIRS + ${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers + ${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.0) add_subdirectory(api/opencl/amdocl) -#add_subdirectory(api/opencl/khronos/icd) +add_subdirectory(api/opencl/khronos/icd) -#add_subdirectory(tools/clinfo) +add_subdirectory(tools/clinfo) diff --git a/opencl/tools/clinfo/CMakeLists.txt b/opencl/tools/clinfo/CMakeLists.txt index badb6594a4..0ffcb0f621 100644 --- a/opencl/tools/clinfo/CMakeLists.txt +++ b/opencl/tools/clinfo/CMakeLists.txt @@ -6,6 +6,6 @@ include_directories(${OPENCL_INCLUDE_DIRS}) add_definitions(-DHAVE_CL2_HPP) -add_executable(clinfo clinfo.cpp) +add_executable(clinfo clinfo.cpp) target_link_libraries(clinfo OpenCL)