diff options
author | Dario Freddi <dario.freddi@collabora.co.uk> | 2010-04-16 21:30:06 +0200 |
---|---|---|
committer | Dario Freddi <dario.freddi@collabora.co.uk> | 2010-09-20 17:03:51 +0200 |
commit | 98d54f12842db001c090aaf880f26855197484f8 (patch) | |
tree | 82c5537bc0bd9674f3d78ddbaefd20b2a787025a /examples | |
parent | ab524b4a940bc30d8163ab31bcaaf8cb84895f8b (diff) |
Do a big cleanup of useless include_directory() directives: CMake automatically cascades include directories down to every subdirectory, so it's not needed to include a directory which has already been included in a top-level CMakeLists.txt file.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/accounts/CMakeLists.txt | 5 | ||||
-rw-r--r-- | examples/call/CMakeLists.txt | 3 | ||||
-rw-r--r-- | examples/extensions/CMakeLists.txt | 5 | ||||
-rw-r--r-- | examples/file-transfer/CMakeLists.txt | 5 | ||||
-rw-r--r-- | examples/protocols/CMakeLists.txt | 5 | ||||
-rw-r--r-- | examples/roster/CMakeLists.txt | 5 |
6 files changed, 0 insertions, 28 deletions
diff --git a/examples/accounts/CMakeLists.txt b/examples/accounts/CMakeLists.txt index 44016f76..f793fcf3 100644 --- a/examples/accounts/CMakeLists.txt +++ b/examples/accounts/CMakeLists.txt @@ -1,8 +1,3 @@ -include_directories( - ${CMAKE_BINARY_DIR} - ${CMAKE_SOURCE_DIR} - ${QT_INCLUDES}) - set(accounts_SRCS main.cpp account-item.cpp diff --git a/examples/call/CMakeLists.txt b/examples/call/CMakeLists.txt index 35eb8ecc..904d4d0b 100644 --- a/examples/call/CMakeLists.txt +++ b/examples/call/CMakeLists.txt @@ -1,8 +1,5 @@ if(FARSIGHT_COMPONENTS_FOUND) include_directories( - ${CMAKE_BINARY_DIR} - ${CMAKE_SOURCE_DIR} - ${QT_INCLUDES} ${TELEPATHY_FARSIGHT_INCLUDE_DIR} ${GSTREAMER_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} diff --git a/examples/extensions/CMakeLists.txt b/examples/extensions/CMakeLists.txt index d452f515..63c05fb9 100644 --- a/examples/extensions/CMakeLists.txt +++ b/examples/extensions/CMakeLists.txt @@ -14,11 +14,6 @@ # the main interface) --mainiface should be specified as fully namespaced name # of the interface class itself. -include_directories( - ${CMAKE_SOURCE_DIR} - ${CMAKE_BINARY_DIR} - ${QT_INCLUDES}) - set(example_extensions_SRCS cli-connection.cpp cli-connection.h diff --git a/examples/file-transfer/CMakeLists.txt b/examples/file-transfer/CMakeLists.txt index 0a8471ff..a5b345c8 100644 --- a/examples/file-transfer/CMakeLists.txt +++ b/examples/file-transfer/CMakeLists.txt @@ -1,8 +1,3 @@ -include_directories( - ${CMAKE_BINARY_DIR} - ${CMAKE_SOURCE_DIR} - ${QT_INCLUDES}) - set(receiver_SRCS receiver.cpp receiver-channel.cpp) diff --git a/examples/protocols/CMakeLists.txt b/examples/protocols/CMakeLists.txt index 33d4d7b6..54ebe3af 100644 --- a/examples/protocols/CMakeLists.txt +++ b/examples/protocols/CMakeLists.txt @@ -1,8 +1,3 @@ -include_directories( - ${CMAKE_BINARY_DIR} - ${CMAKE_SOURCE_DIR} - ${QT_INCLUDES}) - set(protocols_SRCS main.cpp cm-wrapper.cpp diff --git a/examples/roster/CMakeLists.txt b/examples/roster/CMakeLists.txt index 09542a6c..4eb254c0 100644 --- a/examples/roster/CMakeLists.txt +++ b/examples/roster/CMakeLists.txt @@ -1,8 +1,3 @@ -include_directories( - ${CMAKE_BINARY_DIR} - ${CMAKE_SOURCE_DIR} - ${QT_INCLUDES}) - set(roster_SRCS main.cpp roster-window.cpp |