mirror of
https://github.com/taglib/taglib.git
synced 2025-05-25 20:20:25 -04:00
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:
parent
5703a3619b
commit
4edbc93494
@ -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 )
|
||||
|
@ -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 ###############
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
if(BUILD_TESTS)
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/taglib ${CMAKE_SOURCE_DIR}/taglib/toolkit ${CMAKE_SOURCE_DIR}/taglib/mpeg/id3v2 )
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../taglib
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../taglib/toolkit
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg/id3v2 )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
Loading…
Reference in New Issue
Block a user