diff options
author | spiff <spiff@xbmc.org> | 2013-08-19 19:40:21 +0200 |
---|---|---|
committer | spiff <spiff@xbmc.org> | 2013-08-20 20:20:22 +0200 |
commit | 29ba0d1e695b24f5c426a2885a5ef67e748512af (patch) | |
tree | e2feffa9f196576b19e89f88e285eb4332ccc67d /project/cmake | |
parent | c09a9b0f7c5b099b66f0206a5d4b83c378ffb1a0 (diff) |
move to addon helpers. fits better and avoids duplication for win32
Diffstat (limited to 'project/cmake')
-rw-r--r-- | project/cmake/xbmc-addon-helpers.cmake | 3 | ||||
-rw-r--r-- | project/cmake/xbmc-config.cmake.in | 3 | ||||
-rw-r--r-- | project/cmake/xbmc-config.cmake.win32 | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/project/cmake/xbmc-addon-helpers.cmake b/project/cmake/xbmc-addon-helpers.cmake index 2394e9a38b..1afc561917 100644 --- a/project/cmake/xbmc-addon-helpers.cmake +++ b/project/cmake/xbmc-addon-helpers.cmake @@ -74,3 +74,6 @@ function (xbmc_find_path var_name filename search_path strip_file) endif(strip_file) set (${var_name} ${PATH_TO_FILE} PARENT_SCOPE) endfunction() + +OPTION(PACKAGE_ZIP "Package Zip file?" OFF) +OPTION(PACKAGE_TGZ "Package TGZ file?" OFF) diff --git a/project/cmake/xbmc-config.cmake.in b/project/cmake/xbmc-config.cmake.in index 9b6dedf847..4f898ba439 100644 --- a/project/cmake/xbmc-config.cmake.in +++ b/project/cmake/xbmc-config.cmake.in @@ -4,6 +4,3 @@ ADD_DEFINITIONS(@ARCH_DEFINES@) include(xbmc-addon-helpers) include(AddOptions) - -OPTION(PACKAGE_ZIP "Package Zip file?" OFF) -OPTION(PACKAGE_TGZ "Package TGZ file?" OFF) diff --git a/project/cmake/xbmc-config.cmake.win32 b/project/cmake/xbmc-config.cmake.win32 index dfb8508ebd..950d1a9304 100644 --- a/project/cmake/xbmc-config.cmake.win32 +++ b/project/cmake/xbmc-config.cmake.win32 @@ -3,6 +3,3 @@ LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR}) include(xbmc-addon-helpers) include(AddOptions) - -OPTION(PACKAGE_ZIP "Package Zip file?" ON) -OPTION(PACKAGE_TGZ "Package TGZ file?" OFF) |