summaryrefslogtreecommitdiff
blob: 0cbeb50d2392ccc1296c7a128db41cd79e0c86ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -urN krename-4.0.0.old/CMakeLists.txt krename-4.0.0/CMakeLists.txt
--- krename-4.0.0.old/CMakeLists.txt	2009-08-26 22:39:28.000000000 +0200
+++ krename-4.0.0/CMakeLists.txt	2009-09-24 16:34:21.000000000 +0200
@@ -18,7 +18,7 @@
 
 # Find taglib
 set(TAGLIB_MIN_VERSION "1.5")
-find_package(Taglib REQUIRED)
+macro_optional_find_package(Taglib REQUIRED)
 macro_log_feature( TAGLIB_FOUND "taglib" "Read and write tags in audio files" "http://www.freshmeat.net/projects/taglib" TRUE "1.5.0" "")
 
 IF(TAGLIB_FOUND)
@@ -29,7 +29,7 @@
 
 # Find exiv2
 set(EXIV2_MIN_VERSION "0.13") # AccessMode was added in 0.13
-find_package(Exiv2)
+macro_optional_find_package(Exiv2)
 macro_log_feature(EXIV2_FOUND "Exiv2" "A library to access image metadata" "http://www.exiv2.org" FALSE "")
 
 IF(EXIV2_FOUND)