forked from qt-creator/qt-creator
Build: Disable cpack for commercial sources
There isn't a single license that could be used, so to support this, it would need to be chosen somehow. Just disable for now, because otherwise CMake configuration breaks. Fixes: QTCREATORBUG-28603 Change-Id: I26a01d6ab317ffeb212d6e5517100eaf07963377 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -171,7 +171,8 @@ feature_summary(INCLUDE_QUIET_PACKAGES WHAT
|
|||||||
ENABLED_FEATURES DISABLED_FEATURES
|
ENABLED_FEATURES DISABLED_FEATURES
|
||||||
)
|
)
|
||||||
|
|
||||||
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR
|
||||||
# Only for non super repo builds
|
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.GPL3-EXCEPT")
|
||||||
|
# Only for opensource, non-super-repo builds
|
||||||
add_subdirectory(packaging)
|
add_subdirectory(packaging)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user