Skip to content

Commit

Permalink
[CMake] Corrected warning message about USE_GRAPH_EXECUTOR_DEBUG (apa…
Browse files Browse the repository at this point in the history
…che#9006)

Warning message about deprecated cmake flag `USE_GRAPH_EXECUTOR_DEBUG`
referred to `USE_GRAPH_EXECUTOR` instead.
  • Loading branch information
Lunderberg authored and ylc committed Sep 29, 2021
1 parent c7f895c commit faeaed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ endif(USE_GRAPH_EXECUTOR)

# convert old options for profiler
if(USE_GRAPH_EXECUTOR_DEBUG)
message(WARNING "USE_GRAPH_EXECUTOR renamed to USE_PROFILER. Please update your config.cmake")
message(WARNING "USE_GRAPH_EXECUTOR_DEBUG renamed to USE_PROFILER. Please update your config.cmake")
unset(USE_GRAPH_EXECUTOR_DEBUG CACHE)
set(USE_PROFILER ON)
endif()
Expand Down

0 comments on commit faeaed7

Please sign in to comment.