1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Windows: Don't hardcode plugin path

This commit is contained in:
David Rosca 2018-03-27 10:40:26 +02:00
parent bea5bb05d9
commit 00dfe3ac14
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -36,7 +36,9 @@ if (IS_ABSOLUTE ${FALKON_INSTALL_PLUGINDIR})
else()
set(PLUGIN_PATH "${CMAKE_INSTALL_PREFIX}/${FALKON_INSTALL_PLUGINDIR}")
endif()
set(FALKON_PLUGIN_PATH "${PLUGIN_PATH}" CACHE PATH "Default plugin search path")
if (NOT WIN32)
set(FALKON_PLUGIN_PATH "${PLUGIN_PATH}" CACHE PATH "Default plugin search path")
endif()
# Defines that are always set
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_USE_QSTRINGBUILDER -DQT_NO_CAST_TO_ASCII)