mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-21 00:12:06 +02:00
Set cache mode so cmake doesn't forget our own set variable and fallback to pkgconfig-set one.
This commit is contained in:
parent
6e19a85d73
commit
d5df5f7676
@ -44,7 +44,7 @@ else (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)
|
||||
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}" )
|
||||
set ( QJSON_LIBRARIES "${QJSON_LIBRARIES} ${QJSON_LDFLAGS}" CACHE INTERNAL "")
|
||||
endif ()
|
||||
|
||||
endif (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user