summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <[email protected]>2017-12-18 15:49:54 +0100
committerHannah von Reth <[email protected]>2017-12-18 15:49:54 +0100
commit4a692fcf79a21e5154846bfd4ae86b60e866615a (patch)
treeaf9074c2a00ab7cf729db12a45f6b2d295dd82d5
parent4c7843f740b21e504c9c2f3cf0667b29975dfed5 (diff)
Use taglib-config also on windows
-rw-r--r--cmake/FindTaglib.cmake7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmake/FindTaglib.cmake b/cmake/FindTaglib.cmake
index a87ffca..48d9504 100644
--- a/cmake/FindTaglib.cmake
+++ b/cmake/FindTaglib.cmake
@@ -35,12 +35,9 @@ if(NOT TAGLIB_MIN_VERSION)
set(TAGLIB_MIN_VERSION "1.4")
endif(NOT TAGLIB_MIN_VERSION)
-if(NOT WIN32)
- find_program(TAGLIBCONFIG_EXECUTABLE NAMES taglib-config PATHS
+find_program(TAGLIBCONFIG_EXECUTABLE NAMES taglib-config taglib-config.cmd PATHS
${BIN_INSTALL_DIR}
- )
-endif(NOT WIN32)
-
+)
#reset vars
set(TAGLIB_LIBRARIES)
set(TAGLIB_CFLAGS)