summaryrefslogtreecommitdiff
path: root/sc/Library_sc.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-25 13:29:44 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-25 20:05:45 +0200
commita7a79ee92d5663248abdc3f6d1476e28c1abda6a (patch)
treec9c2e02a301b88d770f38680c10b4f6ef3d84606 /sc/Library_sc.mk
parent5cec4ea827570a5bb0a368025f3733b841107d07 (diff)
Move clew into a library of its own
Change-Id: Ifb7e86b078bd549506a9cc1b9ce9fc22fffc5eec
Diffstat (limited to 'sc/Library_sc.mk')
-rw-r--r--sc/Library_sc.mk15
1 files changed, 1 insertions, 14 deletions
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk
index 898284e74221..e17b4ca3e94a 100644
--- a/sc/Library_sc.mk
+++ b/sc/Library_sc.mk
@@ -37,6 +37,7 @@ $(eval $(call gb_Library_use_sdk_api,sc))
$(eval $(call gb_Library_use_externals,sc,\
boost_headers \
+ $(call gb_Helper_optional,CLCC,clew) \
icu_headers \
icui18n \
icuuc \
@@ -673,22 +674,8 @@ $(eval $(call gb_Library_add_exception_objects,sc,\
sc/source/core/opencl/op_array \
sc/source/core/opencl/op_logical \
sc/source/core/opencl/op_spreadsheet \
- sc/source/core/opencl/clcc/clew \
))
-ifeq ($(OS),LINUX)
-$(eval $(call gb_Library_add_libs,sc,\
- -ldl \
- -lrt \
-))
-endif
-
-ifeq ($(OS),MACOSX)
-$(eval $(call gb_Library_add_libs,sc,\
- -framework OpenCL \
-))
-endif
-
endif
$(eval $(call gb_SdiTarget_SdiTarget,sc/sdi/scslots,sc/sdi/scalc))