cmake: CMake warning fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-11 18:06:20 +03:00
parent fd18a275cb
commit f681ac0588
2 changed files with 3 additions and 3 deletions

View file

@ -73,11 +73,11 @@ include(KDE4Defaults)
# X11 Session Management (SM) is required
# X11_SM_FOUND is set in FindX11, which is required by KDE4Internal
if(NOT X11_SM_FOUND)
message(FATAL_ERROR "\nThe X11 Session Management (SM) development package could not be found.\nPlease install libSM.\n")
message(FATAL_ERROR "The X11 Session Management (SM) development package could not be found")
endif(NOT X11_SM_FOUND)
if(NOT X11_XSync_FOUND AND NOT X11_Xscreensaver_FOUND)
message(FATAL_ERROR "\nNeither the XSync (libXext) nor XScreensaver (libXss) development package was found.\nPlease install one of them (XSync is recommended)\n")
message(FATAL_ERROR "Neither the XSync (libXext) nor XScreensaver (libXss) development package was found")
endif(NOT X11_XSync_FOUND AND NOT X11_Xscreensaver_FOUND)
if(ENABLE_TESTING)

View file

@ -191,7 +191,7 @@ if(NOT _kdeBootStrapping)
# libraries handled correctly. But to keep compatibility and not to change behaviour we
# set all these variables anyway as seen below. Alex
include(${kde_cmake_module_dir}/KDELibs4LibraryTargets.cmake)
endif(_kdeBootStrapping)
endif(NOT _kdeBootStrapping)
# Set the various KDE4_FOO_LIBS variables.
# In bootstrapping mode KDE4_TARGET_PREFIX is empty, so e.g. KDE4_KDECORE_LIBS