summaryrefslogtreecommitdiffstats
path: root/deps/oclfft
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-03-06 15:27:00 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-03-06 15:27:00 +0100
commit4a67d3c845180275d7dfca5bc7235f0a07c48d57 (patch)
tree6b58bd5d2faafa3af691b7ce59a72de5618b0dcb /deps/oclfft
parent9badcf804e399a685cb378a99951f247b1b9039a (diff)
downloadufo-filters-4a67d3c845180275d7dfca5bc7235f0a07c48d57.tar.gz
ufo-filters-4a67d3c845180275d7dfca5bc7235f0a07c48d57.tar.bz2
ufo-filters-4a67d3c845180275d7dfca5bc7235f0a07c48d57.tar.xz
ufo-filters-4a67d3c845180275d7dfca5bc7235f0a07c48d57.zip
Build and link liboclfft correctly
Diffstat (limited to 'deps/oclfft')
-rw-r--r--deps/oclfft/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/oclfft/CMakeLists.txt b/deps/oclfft/CMakeLists.txt
index a53c551..194ffd0 100644
--- a/deps/oclfft/CMakeLists.txt
+++ b/deps/oclfft/CMakeLists.txt
@@ -1,10 +1,12 @@
+project(oclfft CXX)
include_directories(${OPENCL_INCLUDE_DIRS})
-add_library(oclfft STATIC
+add_library(oclfft SHARED
fft_execute.cpp
fft_setup.cpp
fft_kernelstring.cpp)
-set_target_properties(oclfft PROPERTIES LINKER_LANGUAGE C)
-
target_link_libraries(oclfft ${OPENCL_LIBRARIES})
+
+install(TARGETS oclfft
+ LIBRARY DESTINATION ${UFO_FILTERS_LIBDIR})