Mercurial > hg > orthanc
changeset 5121:77e20ce39d6f
removed some warnings for recent versions of CMake
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 19 Dec 2022 15:09:38 +0100 |
parents | a6fa660ec26e |
children | 8638522eeda1 |
files | OrthancFramework/Resources/CMake/LibJpegConfiguration.cmake OrthancFramework/Resources/CMake/LibPngConfiguration.cmake OrthancFramework/Resources/CMake/OpenSslConfiguration.cmake |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/LibJpegConfiguration.cmake Fri Dec 16 13:10:35 2022 +0100 +++ b/OrthancFramework/Resources/CMake/LibJpegConfiguration.cmake Mon Dec 19 15:09:38 2022 +0100 @@ -107,7 +107,7 @@ else() include(FindJPEG) - if (NOT ${JPEG_FOUND}) + if (NOT JPEG_FOUND) message(FATAL_ERROR "Unable to find libjpeg") endif()
--- a/OrthancFramework/Resources/CMake/LibPngConfiguration.cmake Fri Dec 16 13:10:35 2022 +0100 +++ b/OrthancFramework/Resources/CMake/LibPngConfiguration.cmake Mon Dec 19 15:09:38 2022 +0100 @@ -71,7 +71,7 @@ else() include(FindPNG) - if (NOT ${PNG_FOUND}) + if (NOT PNG_FOUND) message(FATAL_ERROR "Unable to find libpng") endif()
--- a/OrthancFramework/Resources/CMake/OpenSslConfiguration.cmake Fri Dec 16 13:10:35 2022 +0100 +++ b/OrthancFramework/Resources/CMake/OpenSslConfiguration.cmake Mon Dec 19 15:09:38 2022 +0100 @@ -59,7 +59,7 @@ else() include(FindOpenSSL) - if (NOT ${OPENSSL_FOUND}) + if (NOT OPENSSL_FOUND) message(FATAL_ERROR "Unable to find OpenSSL") endif()