From 309748ff79d827e191e93f8c28f42768dd5d3966 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Fri, 20 Dec 2002 11:56:08 -0500 Subject: FIX: make CMAKE_X_LIBS and CMAKE_X_CFLAGS advanced --- Modules/CMakeBackwardCompatibilityC.cmake | 7 +++++-- Modules/FindX11.cmake | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Modules/CMakeBackwardCompatibilityC.cmake b/Modules/CMakeBackwardCompatibilityC.cmake index c59e273..857a55d 100644 --- a/Modules/CMakeBackwardCompatibilityC.cmake +++ b/Modules/CMakeBackwardCompatibilityC.cmake @@ -53,9 +53,12 @@ IF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS) ENDIF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS) MARK_AS_ADVANCED( +CMAKE_HP_PTHREADS CMAKE_THREAD_LIBS CMAKE_USE_PTHREADS -CMAKE_USE_WIN32_THREADS CMAKE_USE_SPROC -CMAKE_HP_PTHREADS) +CMAKE_USE_WIN32_THREADS +CMAKE_X_CFLAGS +CMAKE_X_LIBS +) diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake index f407669..04ccc99 100644 --- a/Modules/FindX11.cmake +++ b/Modules/FindX11.cmake @@ -164,6 +164,7 @@ IF (UNIX) CMAKE_Xext_LIB CMAKE_Xlib_INCLUDE_PATH CMAKE_Xutil_INCLUDE_PATH + CMAKE_X_LIBS ) ENDIF (UNIX) -- cgit v0.12