[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/libs/webkitkde
From: Pino Toscano <pino () kde ! org>
Date: 2008-09-19 23:56:37
Message-ID: 1221868597.563916.5652.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 862821 by pino:
when bootstrapping, set the include directory as the parent directory of the sources:
this way, it is possible to include <module/header.h>, like if the library would be \
installed already
M +1 -1 kdenetwork/cmake/modules/FindKdeNetwork.cmake
M +1 -1 kdewebkit/cmake/modules/FindKdeWebKit.cmake
--- trunk/playground/libs/webkitkde/kdenetwork/cmake/modules/FindKdeNetwork.cmake \
#862820:862821 @@ -18,7 +18,7 @@
# Little trick I found in FindKDE4Interal... If we're building KdeNetwork, set the \
variables to point to the build directory. if(kdenetwork_SOURCE_DIR)
set(KDENETWORK_LIBRARIES kdenetwork)
- set(KDENETWORK_INCLUDE_DIR ${CMAKE_SOURCE_DIR})
+ get_directory_property(KDENETWORK_INCLUDE_DIR DIRECTORY \
"${kdenetwork_SOURCE_DIR}" PARENT_DIRECTORY) endif(kdenetwork_SOURCE_DIR)
# use pkg-config to get the directories and then use these values
--- trunk/playground/libs/webkitkde/kdewebkit/cmake/modules/FindKdeWebKit.cmake \
#862820:862821 @@ -18,7 +18,7 @@
# Little trick I found in FindKDE4Interal... If we're building KdeWebKit, set the \
variables to point to the build directory. if(kdewebkit_SOURCE_DIR)
set(KDEWEBKIT_LIBRARIES kdewebkit)
- set(KDEWEBKIT_INCLUDE_DIR ${CMAKE_SOURCE_DIR})
+ get_directory_property(KDEWEBKIT_INCLUDE_DIR DIRECTORY "${kdewebkit_SOURCE_DIR}" \
PARENT_DIRECTORY) endif(kdewebkit_SOURCE_DIR)
# use pkg-config to get the directories and then use these values
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic