]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
cmake: Drop an unnecessary include directory
authorAlex Richardson <arichardson.kde@gmail.com>
Wed, 23 Mar 2022 22:06:33 +0000 (22:06 +0000)
committerRalf Habacker <ralf.habacker@freenet.de>
Thu, 24 Mar 2022 14:26:42 +0000 (14:26 +0000)
There should be no need to include the directory above the DBus sources,
if that is actually required users can always pass -I flags to CMake.
I noticed this because CLion started indexing all my cloned projects when
I opened DBus due to this include path.

bus/CMakeLists.txt

index 26f07dd2e10bd9ffb27e099d0dcd365b264f8411..dafee5937930c5b6d874e1ee72aadd057696ce93 100644 (file)
@@ -85,7 +85,6 @@ endif()
 
 include_directories(
     ${CMAKE_BINARY_DIR}
-    ${CMAKE_SOURCE_DIR}/..
     ${EXPAT_INCLUDE_DIR}
 )