summaryrefslogtreecommitdiffstats
path: root/toolchain/common.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/common.cmake')
-rw-r--r--toolchain/common.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/common.cmake b/toolchain/common.cmake
new file mode 100644
index 0000000..842b50d
--- /dev/null
+++ b/toolchain/common.cmake
@@ -0,0 +1,12 @@
1cmake_minimum_required(VERSION 2.8)
2if(NOT DVBVIEWER_HOOKED)
3 function(add_library name)
4 _add_library(${name} ${ARGN})
5
6 if (${name} STREQUAL "pvr.dvbviewer")
7 set_target_properties(${name} PROPERTIES NO_SONAME TRUE)
8 endif()
9 endfunction()
10
11 set(DVBVIEWER_HOOKED TRUE)
12endif()