From 519016ea31ddf1588fe73f50c22476c0db0e33e5 Mon Sep 17 00:00:00 2001 From: "F. Duncanh" Date: Thu, 15 Dec 2022 12:43:46 -0500 Subject: [PATCH] added cmake message that -DZOOMFIX=ON is no longer used --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c2e668..9abd6b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,10 +8,15 @@ include(GNUInstallDirs) set ( CMAKE_CXX_STANDARD 11 ) +if (ZOOMFIX ) + message (STATUS "cmake option ZOOMFIX is no longer used (if needed, ZOOMFIX is automatically applied if X11 libraries are present)" ) +endif() + + if ( NOT NO_X11_DEPS ) find_package( X11 ) if ( X11_FOUND ) - message (STATUS "Will compile using X11 Libraries" ) + message (STATUS "Will compile using X11 Libraries (use cmake option -DNO_X11_DEPS=ON if X11 dependence is not wanted)" ) link_libraries( ${X11_LIBRARIES} ) include_directories( ${X11_INCLUDE_DIR} ) else ()