Commit 47b07613 authored by Jakob Otto's avatar Jakob Otto

remove OpenCL references

parent 7445b789
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# Use this module as follows: # Use this module as follows:
# #
# find_package(CAF [COMPONENTS <core|io|opencl|...>*] [REQUIRED]) # find_package(CAF [COMPONENTS <core|io|openssl|...>*] [REQUIRED])
# #
# Variables used by this module (they can change the default behaviour and need # Variables used by this module (they can change the default behaviour and need
# to be set before calling find_package): # to be set before calling find_package):
...@@ -147,13 +147,6 @@ if (CAF_openssl_FOUND AND NOT TARGET caf::openssl) ...@@ -147,13 +147,6 @@ if (CAF_openssl_FOUND AND NOT TARGET caf::openssl)
INTERFACE_LINK_LIBRARIES "OpenSSL::SSL") INTERFACE_LINK_LIBRARIES "OpenSSL::SSL")
endif () endif ()
endif () endif ()
if (CAF_opencl_FOUND AND NOT TARGET caf::opencl)
add_library(caf::opencl UNKNOWN IMPORTED)
set_target_properties(caf::opencl PROPERTIES
IMPORTED_LOCATION "${CAF_LIBRARY_OPENCL}"
INTERFACE_INCLUDE_DIRECTORIES "${CAF_INCLUDE_DIR_OPENCL}"
INTERFACE_LINK_LIBRARIES "caf::core")
endif ()
if (CAF_test_FOUND AND NOT TARGET caf::test) if (CAF_test_FOUND AND NOT TARGET caf::test)
add_library(caf::test INTERFACE IMPORTED) add_library(caf::test INTERFACE IMPORTED)
set_target_properties(caf::test PROPERTIES set_target_properties(caf::test PROPERTIES
......
...@@ -160,9 +160,6 @@ while [ $# -ne 0 ]; do ...@@ -160,9 +160,6 @@ while [ $# -ne 0 ]; do
--no-unit-tests) --no-unit-tests)
append_cache_entry CAF_NO_UNIT_TESTS BOOL yes append_cache_entry CAF_NO_UNIT_TESTS BOOL yes
;; ;;
--no-opencl)
append_cache_entry CAF_NO_OPENCL BOOL yes
;;
--no-openssl) --no-openssl)
append_cache_entry CAF_NO_OPENSSL BOOL yes append_cache_entry CAF_NO_OPENSSL BOOL yes
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment