mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 14:46:33 +02:00
Explicitly enable the usage of CMAKE_REQUIRED_LIBRARIES for check_cxx_source_compiles
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# taglib changed filenames to be a char/wchar struct on some platforms, need to check for it
|
# taglib changed filenames to be a char/wchar struct on some platforms, need to check for it
|
||||||
macro (CHECK_TAGLIB_FILENAME TAGLIB_FILENAME_COMPLEX)
|
macro (CHECK_TAGLIB_FILENAME TAGLIB_FILENAME_COMPLEX)
|
||||||
|
CMAKE_POLICY(SET CMP0075 NEW)
|
||||||
|
|
||||||
include (CheckCXXSourceCompiles)
|
include (CheckCXXSourceCompiles)
|
||||||
set (CMAKE_REQUIRED_FLAGS ${TAGLIB_CFLAGS})
|
set (CMAKE_REQUIRED_FLAGS ${TAGLIB_CFLAGS})
|
||||||
set (CMAKE_REQUIRED_INCLUDES ${TAGLIB_INCLUDES})
|
set (CMAKE_REQUIRED_INCLUDES ${TAGLIB_INCLUDES})
|
||||||
|
Reference in New Issue
Block a user