mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
cmake-gui: Reference LGPLv3 when redistributing Qt
Download http://www.gnu.org/licenses/lgpl.txt and place it as Licenses/LGPLv3.txt in our source tree. When building cmake-gui, use option CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL to enable notification in the "About" dialog of how the distribution of Qt is licensed. Install the license file as ${CMAKE_ROOT}/Licenses/LGPLv3.txt so that the dialog can display a path to it.
This commit is contained in:
@@ -15,7 +15,7 @@ CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
|
||||
CMAKE_Fortran_COMPILER:FILEPATH=FALSE
|
||||
CMAKE_GENERATOR:INTERNAL=Ninja
|
||||
BUILD_QtDialog:BOOL:=TRUE
|
||||
CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL:BOOL=TRUE
|
||||
CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL:STRING=3
|
||||
CMake_INSTALL_DEPENDENCIES:BOOL=ON
|
||||
CMAKE_EXE_LINKER_FLAGS:STRING=-machine:x86 -subsystem:console,5.01
|
||||
")
|
||||
|
Reference in New Issue
Block a user