Skip to content

Commit

Permalink
cmake: use local scope version
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jun 9, 2022
1 parent 93fe6db commit acfb113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ endif()
add_definitions(
-DARCH="${CMAKE_SYSTEM_PROCESSOR}"
-DOS="${CMAKE_SYSTEM_NAME}"
-DVERSION="${CMAKE_PROJECT_VERSION}"
-DVERSION="${PROJECT_VERSION}"
-DVER_MAJOR=${PROJECT_VERSION_MAJOR}
-DVER_MINOR=${PROJECT_VERSION_MINOR}
-DVER_PATCH=${PROJECT_VERSION_PATCH}
Expand Down

0 comments on commit acfb113

Please sign in to comment.