Merge pull request #536 from FestusHagen/fh1.m_CMakeSubProjectFix

Fix for using Taglib as a CMake sub directory project.
This commit is contained in:
Lukáš Lalinský 2015-05-15 19:48:43 -07:00
commit 0069debf0c
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
MACRO(TEST_FLOAT_FORMAT FP_IEEE754)
IF(NOT FP_IEEE754)
TRY_COMPILE(HAVE_FLOAT_FORMAT_BIN
"${CMAKE_BINARY_DIR}" "${CMAKE_SOURCE_DIR}/cmake/TestFloatFormat.c"
"${CMAKE_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/TestFloatFormat.c"
COPY_FILE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/TestFloatFormat.bin")
SET(FP_IEEE754 0)

View File

@ -37,7 +37,7 @@ set(tag_HDRS
fileref.h
audioproperties.h
taglib_export.h
${CMAKE_BINARY_DIR}/taglib_config.h
${CMAKE_CURRENT_BINARY_DIR}/../taglib_config.h
toolkit/taglib.h
toolkit/tstring.h
toolkit/tlist.h