Skip to content

Commit

Permalink
chore: escalate the deprecation warning for options one level (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vollstrecker committed Mar 8, 2024
1 parent 5adc155 commit 19efeb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ message("=> Project : ${PROJECT_NAME} v${cryptopp-cmake_VERSION}")
function(cryptopp_deprecated_option old_name new_name description default)
if(DEFINED ${old_name})
message(
DEPRECATION
"${old_name} is a deprecated option and will be ignored after 8.8.x + 3. Use ${new_name} instead"
AUTHOR_WARNING
"${old_name} is a deprecated option and will be ignored after 8.9.x + 2. Use ${new_name} instead"
)
set(default ${${old_name}})
endif()
Expand Down

0 comments on commit 19efeb4

Please sign in to comment.