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
This commit is contained in:
Brad Hards
2006-10-08 06:28:19 +00:00
parent 5703a3619b
commit 4edbc93494
3 changed files with 18 additions and 11 deletions

View File

@ -1,12 +1,12 @@
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/taglib/taglib
${CMAKE_SOURCE_DIR}/taglib/taglib/toolkit
${CMAKE_SOURCE_DIR}/taglib/taglib/mpeg
${CMAKE_SOURCE_DIR}/taglib/taglib/ogg
${CMAKE_SOURCE_DIR}/taglib/taglib/ogg/vorbis
${CMAKE_SOURCE_DIR}/taglib/taglib/ogg/flac
${CMAKE_SOURCE_DIR}/taglib/taglib/flac
${CMAKE_SOURCE_DIR}/taglib/taglib/mpc
${CMAKE_SOURCE_DIR}/taglib/taglib/mpeg/id3v2 )
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../../taglib
${CMAKE_CURRENT_SOURCE_DIR}/../../taglib/toolkit
${CMAKE_CURRENT_SOURCE_DIR}/../../taglib/mpeg
${CMAKE_CURRENT_SOURCE_DIR}/../../taglib/ogg
${CMAKE_CURRENT_SOURCE_DIR}/../../taglib/ogg/vorbis
${CMAKE_CURRENT_SOURCE_DIR}/../../taglib/ogg/flac
${CMAKE_CURRENT_SOURCE_DIR}/../../taglib/flac
${CMAKE_CURRENT_SOURCE_DIR}/../../taglib/mpc
${CMAKE_CURRENT_SOURCE_DIR}/../../taglib/mpeg/id3v2 )
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/taglib_c.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/taglib_c.pc )