Skip to content

Commit

Permalink
cmake: remove unneded version define (#867)
Browse files Browse the repository at this point in the history
It looks like this was not needed anymore.
  • Loading branch information
julianoes authored Sep 30, 2019
1 parent 4b30c64 commit 1a5e360
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ execute_process(
)

STRING(REGEX REPLACE v\([0-9]+.[0-9]+.[0-9]+.*$\) \\1 VERSION_STR "${VERSION_STR}")

message(STATUS "Version: ${VERSION_STR}")
add_definitions(-DDRONECODE_SDK_VERSION="${VERSION_STR}")

add_subdirectory(core)
add_subdirectory(plugins)
Expand Down

0 comments on commit 1a5e360

Please sign in to comment.