1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-18 11:51:44 +02:00

Fix QJson linking

This commit is contained in:
Jeff Mitchell
2011-05-25 11:48:05 -04:00
parent f878e47575
commit c59747e1e1
2 changed files with 4 additions and 12 deletions

View File

@@ -43,4 +43,8 @@ else (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QJSON DEFAULT_MSG QJSON_LIBRARIES QJSON_INCLUDE_DIR)
if ( WIN32 OR ( UNIX AND NOT APPLE ) )
set ( QJSON_LIBRARIES "${QJSON_LIBRARIES} ${QJSON_LDFLAGS}" )
endif ()
endif (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)