added cmake message that -DZOOMFIX=ON is no longer used

This commit is contained in:
F. Duncanh
2022-12-15 12:43:46 -05:00
parent e86e6e20d4
commit 519016ea31

View File

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