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:
parent
648ec8676c
commit
097723848f
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user