diff options
author | petasis <petasis@f3661a36-4baa-549a-d6c7-40e0ffef350e> | 2009-12-30 19:56:55 (GMT) |
---|---|---|
committer | petasis <petasis@f3661a36-4baa-549a-d6c7-40e0ffef350e> | 2009-12-30 19:56:55 (GMT) |
commit | d7538497f550f1b9ddeef12abe091558984c9ea8 (patch) | |
tree | 72abcf01339f23743bda6d3c6e6a05740c083e53 | |
parent | 17dea58448b0dfc953119d0a040dd2b43d65f1ba (diff) | |
download | tkdnd-d7538497f550f1b9ddeef12abe091558984c9ea8.zip tkdnd-d7538497f550f1b9ddeef12abe091558984c9ea8.tar.gz tkdnd-d7538497f550f1b9ddeef12abe091558984c9ea8.tar.bz2 |
CMAKE fixes
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5414098..93ed414 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,12 @@ ELSE ( WIN32 ) ELSE ( APPLE ) INCLUDE_DIRECTORIES ( unix ) SET ( PKG_SOURCES unix/TkDND_XDND.c ) + MESSAGE ( STATUS "Searching for X11..." ) + FIND_PACKAGE ( X11 REQUIRED ) + IF ( X11_FOUND ) + INCLUDE_DIRECTORIES ( ${X11_INCLUDE_DIR} ) + LINK_LIBRARIES ( ${X11_LIBRARIES} ) + ENDIF ( X11_FOUND ) ENDIF ( APPLE ) ENDIF ( WIN32 ) |