]> granicus.if.org Git - taglib/commitdiff
remove Tests/Examples build from CMakeLists
authorMichael Helmling <helmling@mathematik.uni-kl.de>
Sun, 26 Feb 2012 09:37:59 +0000 (10:37 +0100)
committerMichael Helmling <helmling@mathematik.uni-kl.de>
Sun, 26 Feb 2012 09:37:59 +0000 (10:37 +0100)
CMakeLists.txt
taglib/ape/apefile.cpp

index d6976634055cdf6b008d907d6d88e36d27335d30..0c0c9097e8e0fb10fad554dcb469b913a3d1348c 100644 (file)
@@ -16,8 +16,8 @@ if(VISIBILITY_HIDDEN)
   add_definitions (-fvisibility=hidden)
 endif()
 
-option(BUILD_TESTS "Build the test suite"  ON)
-option(BUILD_EXAMPLES "Build the examples"  ON)
+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)
 
index c66b55a271b8f7dbfd37e52ec5546c954e09c1e0..44f459e92cfb9852507161bd27451509692a9e5e 100644 (file)
@@ -134,7 +134,7 @@ PropertyMap APE::File::setProperties(const PropertyMap &properties)
   else if(d->hasID3v1)
     return d->tag.access<ID3v1::Tag>(ID3v1Index, false)->setProperties(properties);
   else
-    return d->tag.access<APE::Tag>(APE, true)->setProperties(properties);
+    return d->tag.access<APE::Tag>(APEIndex, true)->setProperties(properties);
 }
 
 APE::Properties *APE::File::audioProperties() const