summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-31 15:36:02 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-31 15:36:02 (GMT)
commit1b7ec9e2f7c3bdd8ccb89889feccd09ed3c9551e (patch)
tree473473254d3b0b1b773fe9664712035f60e16ce8 /Templates
parentea2001e6e5c6c9386335e829cfa67ab9083f3a40 (diff)
downloadCMake-1b7ec9e2f7c3bdd8ccb89889feccd09ed3c9551e.zip
CMake-1b7ec9e2f7c3bdd8ccb89889feccd09ed3c9551e.tar.gz
CMake-1b7ec9e2f7c3bdd8ccb89889feccd09ed3c9551e.tar.bz2
Revert X11 stuff until other steps are done
Diffstat (limited to 'Templates')
-rw-r--r--Templates/CCMakeSystemConfig.cmake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Templates/CCMakeSystemConfig.cmake.in b/Templates/CCMakeSystemConfig.cmake.in
index f05b0bb..60f97c0 100644
--- a/Templates/CCMakeSystemConfig.cmake.in
+++ b/Templates/CCMakeSystemConfig.cmake.in
@@ -82,6 +82,15 @@ SET(CMAKE_C_LINK_SHARED "@CMAKE_C_LINK_SHARED@" CACHE STRING
"program used to link c shared libraries")
# support for X11
+SET (CMAKE_X_LIBS "@X_PRE_LIBS@ @X_LIBS@ -lX11 -lXext @X_EXTRA_LIBS@" CACHE STRING
+ "Libraries and options used in X11 programs.")
+
+SET (CMAKE_X_CFLAGS "@X_CFLAGS@" CACHE STRING
+ "X11 extra flags.")
+
+SET (CMAKE_HAS_X @CMAKE_HAS_X@ CACHE INTERNAL
+ "Is X11 around.")
+
SET (CMAKE_SYSTEM @CMAKE_SYSTEM@ CACHE INTERNAL
"What system is this. Result of uname.")
@@ -130,4 +139,6 @@ CMAKE_THREAD_LIBS
CMAKE_USE_PTHREADS
CMAKE_USE_SPROC
CMAKE_WORDS_BIGENDIAN
+CMAKE_X_CFLAGS
+CMAKE_X_LIBS
)