aboutsummaryrefslogtreecommitdiff
path: root/project/cmake
diff options
context:
space:
mode:
authorspiff <spiff@xbmc.org>2013-08-19 19:40:21 +0200
committerspiff <spiff@xbmc.org>2013-08-20 20:20:22 +0200
commit29ba0d1e695b24f5c426a2885a5ef67e748512af (patch)
treee2feffa9f196576b19e89f88e285eb4332ccc67d /project/cmake
parentc09a9b0f7c5b099b66f0206a5d4b83c378ffb1a0 (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.cmake3
-rw-r--r--project/cmake/xbmc-config.cmake.in3
-rw-r--r--project/cmake/xbmc-config.cmake.win323
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)