From 6cf13f13084c0b246399d6f77d4ea95e4617df72 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 6 Feb 2015 18:18:15 +0000 Subject: [PATCH] [CMAKE] Remove -DUSE_X11 from fltk-config --c[xx]flags. This flag is not needed and not used by fltk-config created by configure. It is only used internally, and for this reason it is in config.h. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CMake/options.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/CMake/options.cmake b/CMake/options.cmake index 0ab1311dd..581f2e969 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -48,7 +48,6 @@ if((NOT APPLE OR OPTION_APPLE_X11) AND NOT WIN32) include(FindX11) if(X11_FOUND) set(USE_X11 1) - list(APPEND FLTK_CFLAGS -DUSE_X11) list(APPEND FLTK_LDLIBS -lX11) endif(X11_FOUND) endif((NOT APPLE OR OPTION_APPLE_X11) AND NOT WIN32)