summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/CMakeBackwardCompatibilityC.cmake7
-rw-r--r--Modules/FindX11.cmake1
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)