From 23423fc1087ab98baa564715b9fa8c241c5024df Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Thu, 4 Feb 2010 10:40:47 +0100 Subject: Fix typo in CMakeFile which was causing problems for users with "non-standard" locations of X11 includes. Thanks to Kernigh for the fix. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6b9aba2..f4b7cd53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ FIND_PACKAGE(X11) IF(X11_FOUND) # Add X11 flags/options ADD_DEFINITIONS(-DUSE_X11) - INCLUDE_DIRECTORIES(${X11_INCLUDE_DIRS}) + INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR}) SET(LIBS ${LIBS} ${X11_LIBRARIES}) ENDIF() -- cgit v1.2.3