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 ()