summaryrefslogtreecommitdiffstats
path: root/Modules/FindFLTK.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-19 22:10:08 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-19 22:10:08 (GMT)
commitd78a4bab8c66e90c9c4afd8997ea713716dd088a (patch)
tree8d040832448f35a6b3a2ce112a66f159050f089e /Modules/FindFLTK.cmake
parent77c538d12be20902b2899577e7f1eaead02d2024 (diff)
downloadCMake-d78a4bab8c66e90c9c4afd8997ea713716dd088a.zip
CMake-d78a4bab8c66e90c9c4afd8997ea713716dd088a.tar.gz
CMake-d78a4bab8c66e90c9c4afd8997ea713716dd088a.tar.bz2
BUG: Removed use of cmake 1.4 compatability variable.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r--Modules/FindFLTK.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index 207cd4f..7c3ce2f 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -46,7 +46,8 @@ IF(WIN32)
ENDIF(WIN32)
IF(UNIX)
- SET( FLTK_PLATFORM_DEPENDENT_LIBS ${CMAKE_X_LIBS} -lm)
+ INCLUDE(${CMAKE_ROOT}/Modules/FindX11.cmake)
+ SET( FLTK_PLATFORM_DEPENDENT_LIBS ${X11_LIBRARIES} -lm)
ENDIF(UNIX)
IF(APPLE)