Skip to content

Commit 2161dfa

Browse files
[CMake] Omit warning for missing 'generate' command - make it a status
Lack of this command is not a problem for projects using UR and they may use it without 'UR_FORMAT_CPP_STYLE' set.
1 parent d08d4fa commit 2161dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,5 +272,5 @@ if(UR_FORMAT_CPP_STYLE)
272272
DEPENDS generate
273273
)
274274
else()
275-
message(WARNING "UR_FORMAT_CPP_STYLE not set. Targets: 'generate' and 'check-generated' are not available")
275+
message(STATUS " UR_FORMAT_CPP_STYLE not set. Targets: 'generate' and 'check-generated' are not available")
276276
endif()

0 commit comments

Comments
 (0)