diff options
Diffstat (limited to 'contrib/CMakeLists.txt')
-rw-r--r-- | contrib/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 324cfeb..5566941 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -47,6 +47,7 @@ add_definitions("-std=c99 -Wall -fPIC") add_definitions(-DG_LOG_DOMAIN="Ufo") include_directories(${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} ${OPENCL_INCLUDE_DIRS} ${UFO_INCLUDE_DIRS}) @@ -59,6 +60,10 @@ set(ufofilter_LIBS ${UFO_LIBRARIES} ${OpenCL_LIBRARIES}) +set(CL_TARGET_OPENCL_VERSION "120") +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in + ${CMAKE_CURRENT_BINARY_DIR}/config.h) + # build static auxiliary library first add_library(contrib_sxc_aux STATIC ${contrib_sxc_aux_SRCS}) |