aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2006-10-08 06:28:19 +0000
committerBrad Hards <bradh@frogmouth.net>2006-10-08 06:28:19 +0000
commit4edbc9349476e1c36b650f2b7cd8a7329e6bdf24 (patch)
treef24ea09cb26b6cd2ead4778f15924dcb36c6f429 /examples
parent5703a3619b09116b83a448ce97cf24e8fcdac027 (diff)
Change the taglib build system to use relative include paths.
This allows you to build taglib either as part of kdesupport (i.e. with a source directory of kdesupport/) or by itself (i.e. with a source directory of kdesupport/taglib/). git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@593544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 78dcda50..2abd51d8 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,5 +1,10 @@
if(BUILD_TESTS)
-INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/taglib ${CMAKE_SOURCE_DIR}/taglib/toolkit ${CMAKE_SOURCE_DIR}/taglib/mpeg ${CMAKE_SOURCE_DIR}/taglib/mpeg/id3v1 ${CMAKE_SOURCE_DIR}/taglib/mpeg/id3v2 ${CMAKE_SOURCE_DIR}/bindings/c/ )
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../taglib
+ ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/toolkit
+ ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg
+ ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg/id3v1
+ ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg/id3v2
+ ${CMAKE_CURRENT_SOURCE_DIR}/../bindings/c/ )
########### next target ###############