aboutsummaryrefslogtreecommitdiff
path: root/bundle
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2017-05-05 15:15:33 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2017-05-05 15:15:33 +0200
commit45464eeefe2e32e3ad84d66efde64adaef017208 (patch)
tree91071af0eacff767e52711d7f46fa41377e4fcc2 /bundle
parentbdc77a29ac3463a29c6484aae4bf055603245f06 (diff)
downloadsynthpod-45464eeefe2e32e3ad84d66efde64adaef017208.zip
synthpod-45464eeefe2e32e3ad84d66efde64adaef017208.tar.gz
synthpod-45464eeefe2e32e3ad84d66efde64adaef017208.tar.bz2
synthpod-45464eeefe2e32e3ad84d66efde64adaef017208.tar.xz
make: deprecate efl stuff. make build more modular.
Diffstat (limited to 'bundle')
-rw-r--r--bundle/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundle/CMakeLists.txt b/bundle/CMakeLists.txt
index abdbe43..30ee8ae 100644
--- a/bundle/CMakeLists.txt
+++ b/bundle/CMakeLists.txt
@@ -1,9 +1,9 @@
-include_directories(${CMAKE_CURRENT_SOURCE_DIR})
-
-# synthpod
+# synthpod_bundle.lv2
add_library(synthpod_bundle.lv2 MODULE
synthpod_bundle.c)
set_target_properties(synthpod_bundle.lv2 PROPERTIES PREFIX "" OUTPUT_NAME "synthpod_bundle")
+set_target_properties(synthpod_bundle.lv2 PROPERTIES POSITION_INDEPENDENT_CODE true) # -fPIC
+set_target_properties(synthpod_bundle.lv2 PROPERTIES INTERPROCEDURAL_OPTIMIZATION true) # -flto
install(TARGETS synthpod_bundle.lv2 DESTINATION ${SYNTHPOD_BUNDLE_DIR})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/synthpod_bundle.ttl DESTINATION ${SYNTHPOD_BUNDLE_DIR})