Skip to content

Commit

Permalink
Remove OpenCL package hunter cmds
Browse files Browse the repository at this point in the history
OpenCL package has been removed from hunter, not sure why though.
It used to be present.
  • Loading branch information
9prady9 committed Apr 27, 2018
1 parent 91534e1 commit d6da9af
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,10 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")

if(FG_ENABLE_HUNTER)
hunter_add_package(OpenCL)
find_package(OpenCL 1.2 QUIET NO_CMAKE_PATH NO_SYSTEM_ENVIRONMENT_PATH)
else ()
find_package(OpenCL 1.2 QUIET)
endif()

find_package(Forge REQUIRED)
find_package(OpenCL 1.2 QUIET)
find_package(CUDA QUIET)
find_package(OpenGL REQUIRED)
find_package(CUDA QUIET)
find_package(Forge REQUIRED)

mark_as_advanced(
CUDA_HOST_COMPILER
Expand Down

0 comments on commit d6da9af

Please sign in to comment.