Commit 26addfba authored by Alexander Neundorf's avatar Alexander Neundorf
Browse files

-cleanup the toplevel CMakeLists.txt a bit

-remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR)
in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option
-include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it
doesn't have to be done in every subdir

Alex


svn path=/trunk/KDE/kdemultimedia/libkcddb/; revision=539907
parent 62ac2fd6
......@@ -13,9 +13,10 @@ else(MUSICBRAINZ_FOUND)
set(HAVE_MUSICBRAINZ 0)
set(libmusicbrainz_SRCS)
endif(MUSICBRAINZ_FOUND)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-musicbrainz.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-musicbrainz.h )
include_directories(${CMAKE_BINARY_DIR}/libkcddb/ ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
include_directories(${CMAKE_BINARY_DIR}/libkcddb/ )
########### next target ###############
......
kde4_header()
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/.. ${KDE4_INCLUDES} )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/.. )
########### next target ###############
......
kde4_header()
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/.. ${KDE4_INCLUDES} )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/.. )
if(KDE4_BUILD_TESTS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment