Rename Settings to PajladaSettings

This commit is contained in:
Rasmus Karlsson 2021-02-20 15:51:52 +01:00
parent 5cf9decc57
commit a592784dd4
3 changed files with 11 additions and 11 deletions

View file

@ -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)

View file

@ -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)

View file

@ -280,7 +280,7 @@ else ()
OpenSSL::OpenSSL
qt5keychain
Pajlada::Serialize
Settings::Settings
Pajlada::Settings
Pajlada::Signals
websocketpp::websocketpp
)