mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
Bumped minimum Cmake version to fix build issues on Cmake 4.0. (#3901)
* Bumped minimum Cmake version to fix build issues on Cmake 4.0. 3.22 was chosen since that is the version on Ubuntu 22.04 * lowered cmake version to 3.18 for debian bullseye
This commit is contained in:
6
external/Qt-Color-Widgets/CMakeLists.txt
vendored
6
external/Qt-Color-Widgets/CMakeLists.txt
vendored
@@ -14,10 +14,8 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public License
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
|
cmake_minimum_required (VERSION 3.18 FATAL_ERROR)
|
||||||
if ( ${CMAKE_VERSION} VERSION_GREATER "3.12.0")
|
cmake_policy(SET CMP0077 NEW)
|
||||||
cmake_policy(SET CMP0077 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(COLORWIDGET_PROJECT_NAME QtColorWidgets)
|
set(COLORWIDGET_PROJECT_NAME QtColorWidgets)
|
||||||
project(${COLORWIDGET_PROJECT_NAME} CXX)
|
project(${COLORWIDGET_PROJECT_NAME} CXX)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public License
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
# along with Color Widgets. If not, see <http://www.gnu.org/licenses/>.
|
# along with Color Widgets. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
|
cmake_minimum_required (VERSION 3.18 FATAL_ERROR)
|
||||||
|
|
||||||
project(QtColorWidgetsPlugin CXX)
|
project(QtColorWidgetsPlugin CXX)
|
||||||
|
|
||||||
|
|||||||
2
external/singleapplication/CMakeLists.txt
vendored
2
external/singleapplication/CMakeLists.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.7.0)
|
cmake_minimum_required(VERSION 3.18.0)
|
||||||
|
|
||||||
project(SingleApplication LANGUAGES CXX)
|
project(SingleApplication LANGUAGES CXX)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user