diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c1ffaaf70b22ef51588b97b6a468b9dfdecc315..6478771f1904b7edf715ab7a4713c7d621909c3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,9 @@ project(cellframe-sdk C) cmake_minimum_required(VERSION 2.8) set(CMAKE_C_STANDARD 11) +set(CELLFRAME_SDK_NATIVE_VERSION "1.0-0") +add_definitions ("-DCELLFRAME_SDK_VERSION=\"${CELLFRAME_SDK_NATIVE_VERSION}\"") if((CMAKE_BUILD_TYPE STREQUAL "Debug") OR (DAP_DEBUG)) message("Debug build")