Commit 8e7e28e4 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix two cmake warnings

parent 710ecdb9
Pipeline #159323 passed with stage
in 2 minutes and 44 seconds
......@@ -159,7 +159,7 @@ if(K3B_BUILD_MUSE_DECODER_PLUGIN)
URL "https://www.musepack.net/"
TYPE OPTIONAL)
set(BUILD_MUSE_DECODER_PLUGIN "${MUSE_FOUND}")
set(BUILD_MUSE_DECODER_PLUGIN "${Muse_FOUND}")
endif()
if(K3B_BUILD_SNDFILE_DECODER_PLUGIN)
......
......@@ -41,7 +41,7 @@ else( MUSE_INCLUDE_DIR AND MUSE_LIBRARIES )
endif( MUSE_INCLUDE_DIR AND MUSE_LIBRARIES )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(MUSE DEFAULT_MSG MUSE_INCLUDE_DIR MUSE_LIBRARIES MPC_HEADER_FILE )
find_package_handle_standard_args(Muse DEFAULT_MSG MUSE_INCLUDE_DIR MUSE_LIBRARIES MPC_HEADER_FILE )
# show the MUSE_INCLUDE_DIR and MUSE_LIBRARIES variables only in the advanced view
mark_as_advanced(MUSE_INCLUDE_DIR MUSE_LIBRARIES )
......@@ -15,10 +15,6 @@ if ( SNDFILE_INCLUDE_DIR AND SNDFILE_LIBRARIES )
endif ( SNDFILE_INCLUDE_DIR AND SNDFILE_LIBRARIES )
IF (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
include(FindPkgConfig)
pkg_check_modules(_pc_SNDFILE sndfile)
ENDIF (NOT WIN32)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment