From 29ba0d1e695b24f5c426a2885a5ef67e748512af Mon Sep 17 00:00:00 2001 From: spiff Date: Mon, 19 Aug 2013 19:40:21 +0200 Subject: move to addon helpers. fits better and avoids duplication for win32 --- project/cmake/xbmc-addon-helpers.cmake | 3 +++ project/cmake/xbmc-config.cmake.in | 3 --- project/cmake/xbmc-config.cmake.win32 | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'project/cmake') 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) -- cgit v1.2.3