Why adding X11 to the root CMakeLists.txt?
=== modified file 'CMakeLists.txt' --- CMakeLists.txt 2011-01-14 20:42:44 +0000 +++ CMakeLists.txt 2011-01-27 15:12:29 +0000 @@ -13,6 +13,7 @@ # Dependencies include(FindPkgConfig) find_package(Qt4 REQUIRED) +find_package(X11 REQUIRED)
include_directories( ${CMAKE_BINARY_DIR} @@ -22,9 +23,11 @@ ${QT_QTDECLARATIVE_INCLUDE_DIR} ${QT_QTXML_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} + ${X11_INCLUDE_DIR} )
« Back to merge proposal
Why adding X11 to the root CMakeLists.txt?
=== modified file 'CMakeLists.txt' FindPkgConfig)
--- CMakeLists.txt 2011-01-14 20:42:44 +0000
+++ CMakeLists.txt 2011-01-27 15:12:29 +0000
@@ -13,6 +13,7 @@
# Dependencies
include(
find_package(Qt4 REQUIRED)
+find_package(X11 REQUIRED)
include_ directories( CMAKE_BINARY_ DIR} QT_QTDECLARATIV E_INCLUDE_ DIR} QT_QTXML_ INCLUDE_ DIR} QT_QTGUI_ INCLUDE_ DIR}
${
@@ -22,9 +23,11 @@
${
${
${
+ ${X11_INCLUDE_DIR}
)