summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-06 13:24:53 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:44 +0100
commit08ecabdd888a322bd6499366be446d4d03443c1e (patch)
treed5ca113d23835a3c0cd2ce495581e1383fef09b0 /CMakeLists.txt
parent5f9927f86a8257ff3da8cdbbcd47de98ad09e7b6 (diff)
downloadlibnitrokey-08ecabdd888a322bd6499366be446d4d03443c1e.tar.gz
libnitrokey-08ecabdd888a322bd6499366be446d4d03443c1e.tar.bz2
Fix project version
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b840e07..7f183ef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,3 @@
-SET(PROJECT_VERSION "3.0-alpha")
-
cmake_minimum_required(VERSION 3.5)
IF (UNIX)
OPTION(ADD_ASAN "Use ASAN to show memory issues" FALSE)
@@ -17,13 +15,14 @@ IF (UNIX)
ENDIF()
project(libnitrokey CXX)
+SET(PROJECT_VERSION "3.0-alpha")
set(CMAKE_CXX_STANDARD 14)
OPTION(COMPILE_TESTS "Compile tests" FALSE)
IF (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RelWithDebInfo)
ENDIF()
-MESSAGE("Build type: ${CMAKE_BUILD_TYPE}")
+MESSAGE("${PROJECT_NAME}: Build type: ${CMAKE_BUILD_TYPE}")
include_directories(include)
set(SOURCE_FILES
@@ -90,6 +89,8 @@ IF (COMPILE_TESTS)
ENDIF()
+#SET(CPACK_GENERATOR
+# "DEB;RPM")
# build a CPack driven installer package
include (InstallRequiredSystemLibraries)
set (CPACK_RESOURCE_FILE_LICENSE