diff --git a/CMakeLists.txt b/CMakeLists.txt index 95e9c9e12..03ede9948 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,12 @@ cmake_minimum_required(VERSION 3.6) + # Global properties set_property(GLOBAL PROPERTY USE_FOLDERS ON) +add_compile_definitions("PACKAGE=cppserver") +add_compile_definitions("PACKAGE_VERSION=1") + # Project name project(cppserver) diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index fedba343e..6e84aadc0 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -3,3 +3,4 @@ include("Catch2.cmake") include("cpp-optparse.cmake") include("CppBenchmark.cmake") include("CppCommon.cmake") +