diff options
author | montellese <montellese@xbmc.org> | 2015-02-22 14:22:31 +0100 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2015-02-22 14:22:31 +0100 |
commit | b23b15529bdab6f28a0555830273f8d88a9aa16d (patch) | |
tree | 80714643e9348d8b4785d78b2f6e7026a2cf363c | |
parent | 10d8d19162ba26ecc80f4c8966d338f841d6c44f (diff) |
cmake: fix debug builds by passing CMAKE_BUILD_TYPE to the addon's build
-rw-r--r-- | project/cmake/addons/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/cmake/addons/CMakeLists.txt b/project/cmake/addons/CMakeLists.txt index 48fff4b112..f355aeebc2 100644 --- a/project/cmake/addons/CMakeLists.txt +++ b/project/cmake/addons/CMakeLists.txt @@ -65,7 +65,7 @@ list(APPEND CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}) set(BUILD_ARGS -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DPACKAGE_CONFIG_PATH=${DEPENDS_PATH}/lib/pkgconfig - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_USER_MAKE_RULES_OVERRIDE=${CMAKE_USER_MAKE_RULES_OVERRIDE} -DCMAKE_USER_MAKE_RULES_OVERRIDE_CXX=${CMAKE_USER_MAKE_RULES_OVERRIDE_CXX} -DCORE_SYSTEM_NAME=${CORE_SYSTEM_NAME} |