mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 20:14:32 +00:00
Call cmake_minimum_required() before project()
Also correct a typo. Differential revision: https://phabricator.kde.org/D8510
This commit is contained in:
parent
b614cdbd6e
commit
0be2a2ced3
@ -1,4 +1,4 @@
|
||||
# Checking for user explicity defined CMAKE_INSTALL_PREFIX
|
||||
# Checking for user explicitly defined CMAKE_INSTALL_PREFIX
|
||||
# It must be done before project(...)
|
||||
if(NOT CMAKE_INSTALL_PREFIX)
|
||||
set(QCA_INSTALL_IN_QT_PREFIX ON)
|
||||
@ -6,10 +6,11 @@ if(NOT CMAKE_INSTALL_PREFIX)
|
||||
unset(CMAKE_INSTALL_PREFIX CACHE)
|
||||
endif(NOT CMAKE_INSTALL_PREFIX)
|
||||
|
||||
project(qca)
|
||||
|
||||
# The cmake min. version should be set before calling project(...) too
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
|
||||
project(qca)
|
||||
|
||||
set(QCA_LIB_MAJOR_VERSION "2")
|
||||
set(QCA_LIB_MINOR_VERSION "2")
|
||||
set(QCA_LIB_PATCH_VERSION "1")
|
||||
|
Loading…
x
Reference in New Issue
Block a user