mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Rename Settings to PajladaSettings
This commit is contained in:
parent
5cf9decc57
commit
a592784dd4
|
@ -90,7 +90,7 @@ else (USE_PACKAGE_MANAGER)
|
|||
|
||||
find_package(PajladaSerialize REQUIRED)
|
||||
find_package(PajladaSignals REQUIRED)
|
||||
find_package(Settings REQUIRED)
|
||||
find_package(PajladaSettings REQUIRED)
|
||||
|
||||
if (BUILD_APP)
|
||||
find_package(LibCommuni REQUIRED)
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
include(FindPackageHandleStandardArgs)
|
||||
|
||||
find_path(Settings_INCLUDE_DIR pajlada/settings.hpp)
|
||||
find_library(Settings_LIBRARY PajladaSettings)
|
||||
find_path(PajladaSettings_INCLUDE_DIR pajlada/settings.hpp)
|
||||
find_library(PajladaSettings_LIBRARY PajladaSettings)
|
||||
|
||||
find_package_handle_standard_args(Settings DEFAULT_MSG Settings_INCLUDE_DIR Settings_LIBRARY)
|
||||
find_package_handle_standard_args(PajladaSettings DEFAULT_MSG PajladaSettings_INCLUDE_DIR PajladaSettings_LIBRARY)
|
||||
|
||||
if (Settings_FOUND)
|
||||
add_library(Settings::Settings INTERFACE IMPORTED)
|
||||
set_target_properties(Settings::Settings PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${Settings_INCLUDE_DIR}"
|
||||
INTERFACE_LINK_LIBRARIES "${Settings_LIBRARY}"
|
||||
if (PajladaSettings_FOUND)
|
||||
add_library(Pajlada::Settings INTERFACE IMPORTED)
|
||||
set_target_properties(Pajlada::Settings PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${PajladaSettings_INCLUDE_DIR}"
|
||||
INTERFACE_LINK_LIBRARIES "${PajladaSettings_LIBRARY}"
|
||||
)
|
||||
endif ()
|
||||
|
||||
mark_as_advanced(Settings_INCLUDE_DIR Settings_LIBRARY)
|
||||
mark_as_advanced(PajladaSettings_INCLUDE_DIR PajladaSettings_LIBRARY)
|
||||
|
|
|
@ -280,7 +280,7 @@ else ()
|
|||
OpenSSL::OpenSSL
|
||||
qt5keychain
|
||||
Pajlada::Serialize
|
||||
Settings::Settings
|
||||
Pajlada::Settings
|
||||
Pajlada::Signals
|
||||
websocketpp::websocketpp
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue