0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 08:41:02 +08:00

Define EASY_PROFILER_PRODUCT_VERSION in cmake

This commit is contained in:
Sergey Yagovtsev 2016-11-20 09:25:40 +03:00
parent 648ec8676c
commit 097723848f

View File

@ -25,7 +25,7 @@ add_definitions(
-DEASY_VERSION_MAJOR=${PROGRAM_VERSION_MAJOR} -DEASY_VERSION_MAJOR=${PROGRAM_VERSION_MAJOR}
-DEASY_VERSION_MINOR=${PROGRAM_VERSION_MINOR} -DEASY_VERSION_MINOR=${PROGRAM_VERSION_MINOR}
-DEASY_VERSION_REV=${PROGRAM_VERSION_PATCH} -DEASY_VERSION_REV=${PROGRAM_VERSION_PATCH}
-DPRODUCT_VERSION=\"v${PRODUCT_VERSION_STRING}\" -DEASY_PROFILER_PRODUCT_VERSION=\"v${PRODUCT_VERSION_STRING}\"
) )
# EasyProfiler version # EasyProfiler version