mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 20:00:13 +02:00
Merge pull request #50 from zizzfizzix/cmake_quazip_fix
Fix misleading cmake message - thanks zizzfizzix!
This commit is contained in:
@@ -108,7 +108,7 @@ macro_optional_find_package(LibAttica)
|
|||||||
macro_log_feature(LIBATTICA_FOUND "libattica" "Provides support for automatic fetching and managing of resolvers from the tomahawk website" "https://projects.kde.org/projects/kdesupport/attica" FALSE "" "")
|
macro_log_feature(LIBATTICA_FOUND "libattica" "Provides support for automatic fetching and managing of resolvers from the tomahawk website" "https://projects.kde.org/projects/kdesupport/attica" FALSE "" "")
|
||||||
|
|
||||||
macro_optional_find_package(QuaZip)
|
macro_optional_find_package(QuaZip)
|
||||||
macro_log_feature(QuaZip_FOUND "QuaZip" "Provides support for extracting downloaded resolvers autmatically. Will build internal copy instead." "http://quazip.sourceforge.net/" FALSE "" "")
|
macro_log_feature(QuaZip_FOUND "QuaZip" "Provides support for extracting downloaded resolvers automatically." "http://quazip.sourceforge.net/" FALSE "" "")
|
||||||
|
|
||||||
IF( NOT QuaZip_FOUND )
|
IF( NOT QuaZip_FOUND )
|
||||||
add_subdirectory( ${CMAKE_SOURCE_DIR}/src/libtomahawk/thirdparty/quazip )
|
add_subdirectory( ${CMAKE_SOURCE_DIR}/src/libtomahawk/thirdparty/quazip )
|
||||||
@@ -116,6 +116,7 @@ IF( NOT QuaZip_FOUND )
|
|||||||
SET( QuaZip_LIBRARY quazip )
|
SET( QuaZip_LIBRARY quazip )
|
||||||
SET( QuaZip_LIBRARIES ${QuaZip_LIBRARY} )
|
SET( QuaZip_LIBRARIES ${QuaZip_LIBRARY} )
|
||||||
SET( QuaZip_FOUND true )
|
SET( QuaZip_FOUND true )
|
||||||
|
macro_log_feature(QuaZip_FOUND "QuaZip" "Provides support for extracting downloaded resolvers automatically. Building internal copy" "http://quazip.sourceforge.net/" FALSE "" "")
|
||||||
|
|
||||||
# copy headers to build/quazip so we can use proper includes inside the code
|
# copy headers to build/quazip so we can use proper includes inside the code
|
||||||
FILE( COPY ${CMAKE_SOURCE_DIR}/src/libtomahawk/thirdparty/quazip/quazip/ DESTINATION ${CMAKE_BINARY_DIR}/libtomahawk/thirdparty/quazip )
|
FILE( COPY ${CMAKE_SOURCE_DIR}/src/libtomahawk/thirdparty/quazip/quazip/ DESTINATION ${CMAKE_BINARY_DIR}/libtomahawk/thirdparty/quazip )
|
||||||
|
Reference in New Issue
Block a user