diff options
author | Jonathan Marshall <jmarshall@xbmc.org> | 2014-05-25 19:33:45 +1200 |
---|---|---|
committer | Jonathan Marshall <jmarshall@xbmc.org> | 2014-07-10 19:18:03 +1200 |
commit | f7fd63e5e2b16acabd68c1fb91c3a2a2e925bc3c (patch) | |
tree | d32c93187a65b9f1056abc445c0e3e627dca8ab7 /tools | |
parent | 11998c301bf818d55b7187dac4c2f8a2783e9979 (diff) |
[addon-helpers] set building shared libs as default and try to link as static as possible on all platforms but linux
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/Toolchain.cmake.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/depends/target/Toolchain.cmake.in b/tools/depends/target/Toolchain.cmake.in index cd8a9c2290..c8aee4af1a 100644 --- a/tools/depends/target/Toolchain.cmake.in +++ b/tools/depends/target/Toolchain.cmake.in @@ -29,3 +29,8 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # for libraries and headers in the target directories SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) + +# Binary Addons +IF(NOT LINUX) +SET(ADDONS_PREFER_STATIC_LIBS ON) +ENDIF() |