Skip to content

Commit

Permalink
cmake: Policy CMP0115 set to OLD behavior for dlt-daemon debian package
Browse files Browse the repository at this point in the history
Starting in CMake 3.20, CMake prefers all source files
to have their extensions explicitly listed (.c,.cpp,etc).
To keep dlt-daemon silently built, set this Policy to OLD.

Signed-off-by: LUU QUANG MINH <[email protected]>
  • Loading branch information
LUU QUANG MINH authored and LUU QUANG MINH committed Jul 27, 2023
1 parent a4ece76 commit 3ce6ae7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
# For further information see http://www.genivi.org/.
#######

# Set minimum Cmake version and setup policy behavior
cmake_minimum_required(VERSION 3.3)
cmake_policy(SET CMP0115 OLD)
project(automotive-dlt VERSION 2.18.9)

mark_as_advanced(CMAKE_BACKWARDS_COMPATIBILITY)
Expand Down

0 comments on commit 3ce6ae7

Please sign in to comment.