Skip to content

Commit

Permalink
Use CMP0048 New behavior
Browse files Browse the repository at this point in the history
CMP0048 NEW behavior sets PROJECT_VERSION variables to empty strings if
project() is called with no VERSION argument. This could be a problem
for packages that set VERSION variables prior to project() because
project() would then clear them, but catkin does not do this.

Signed-off-by: Shane Loretz <[email protected]>
  • Loading branch information
sloretz committed Jan 22, 2020
1 parent 4826a8a commit 030ec88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_policy(SET CMP0048 NEW)

set(catkin_EXTRAS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

Expand Down

0 comments on commit 030ec88

Please sign in to comment.