From 6efe9cfcf200eaba3debce62c238a65bcdaa519c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Lalinsk=C3=BD?= Date: Sat, 1 Dec 2007 10:13:13 +0000 Subject: [PATCH] Add an option to define NO_ITUNES_HACKS. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@743543 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- CMakeLists.txt | 2 ++ config-taglib.h.cmake | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd62429c..0bda6bd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ project(taglib) OPTION(BUILD_TESTS "Build the test suite" OFF) OPTION(BUILD_EXAMPLES "Build the examples" OFF) +OPTION(NO_ITUNES_HACKS "Disable workarounds for iTunes bugs" OFF) + #add some KDE specific stuff set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" ) set(EXEC_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} CACHE PATH "Base directory for executables and libraries" FORCE) diff --git a/config-taglib.h.cmake b/config-taglib.h.cmake index cb35884f..56674d6b 100644 --- a/config-taglib.h.cmake +++ b/config-taglib.h.cmake @@ -5,3 +5,5 @@ to minimize recompilations and increase modularity. */ /* Define if you have libz */ #cmakedefine HAVE_ZLIB 1 + +#cmakedefine NO_ITUNES_HACKS 1