Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added policy statement to get rid of warning when doing a distclean
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 18, 2023
1 parent 97d9493 commit f341a78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distclean.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

# We want to start from the top of the source dir, so if we are in build
# we want to start one directory up
CMAKE_POLICY(SET CMP0009 NEW)
GET_FILENAME_COMPONENT(BASEDIR ${CMAKE_SOURCE_DIR} NAME)
IF(${BASEDIR} STREQUAL "build")
SET(TOPDIR "${CMAKE_SOURCE_DIR}/..")
Expand Down

0 comments on commit f341a78

Please sign in to comment.