Created
February 18, 2015 21:55
-
-
Save manuelm/b0fc1de8cd4ef2178831 to your computer and use it in GitHub Desktop.
force build addons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/project/cmake/addons/CMakeLists.txt b/project/cmake/addons/CMakeLists.txt | |
index 972261a..6c6bb04 100644 | |
--- a/project/cmake/addons/CMakeLists.txt | |
+++ b/project/cmake/addons/CMakeLists.txt | |
@@ -228,6 +228,11 @@ foreach(id ${downloaded_addons}) | |
SOURCE_DIR ${BUILD_DIR}/${id} | |
INSTALL_DIR ${CMAKE_INSTALL_PREFIX} | |
CMAKE_ARGS ${BUILD_ARGS}) | |
+ externalproject_add_step(${id} forcebuild | |
+ COMMAND ${CMAKE_COMMAND} -E echo "Force build of ${id}" | |
+ DEPENDEES configure | |
+ DEPENDERS build | |
+ ALWAYS 1) | |
# add "kodi-platform" as a dependency to every addon | |
add_dependencies(${id} kodi-platform) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment