Set project() on top-level

See https://github.com/Martchus/cpp-utilities/pull/15
This commit is contained in:
Martchus 2019-07-20 18:10:54 +02:00
parent e21c97a37e
commit d7e7f9ecfa
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
# meta data
set(META_PROJECT_NAME passwordmanager)
# set meta data
project(passwordmanager)
set(META_PROJECT_NAME ${PROJECT_NAME})
set(META_PROJECT_VARNAME password_manager)
set(META_PROJECT_TYPE application)
set(META_APP_NAME "Password Manager")