diff options
Diffstat (limited to 'src/module')
3 files changed, 14 insertions, 12 deletions
diff --git a/src/module/integrated/gnupg_info_gathering_module/CMakeLists.txt b/src/module/integrated/gnupg_info_gathering_module/CMakeLists.txt index 578d60d3..21219031 100644 --- a/src/module/integrated/gnupg_info_gathering_module/CMakeLists.txt +++ b/src/module/integrated/gnupg_info_gathering_module/CMakeLists.txt @@ -23,7 +23,7 @@ # # SPDX-License-Identifier: GPL-3.0-or-later -# com.bktus.gpgfrontend.module.integrated.gnupg-info-gathering +# com.bktus.gpgfrontend.module.integrated.gnupg_info_gathering aux_source_directory(. INTEGRATED_MODULE_SOURCE) @@ -37,6 +37,10 @@ generate_export_header(gpgfrontend_gnupg_info_gathering target_include_directories(gpgfrontend_gnupg_info_gathering PRIVATE ${CMAKE_SOURCE_DIR}/third_party/spdlog/include) +# set output directory +set_target_properties(gpgfrontend_gnupg_info_gathering PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mods) + if (XCODE_BUILD) set_target_properties(gpgfrontend_gnupg_info_gathering PROPERTIES @@ -56,9 +60,7 @@ target_link_libraries(gpgfrontend_gnupg_info_gathering PRIVATE Qt6::Core) -# set output directory -set_target_properties(gpgfrontend_gnupg_info_gathering PROPERTIES - LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mods) + # property set_property(TARGET gpgfrontend_gnupg_info_gathering PROPERTY AUTOMOC ON) diff --git a/src/module/integrated/version_checking_module/CMakeLists.txt b/src/module/integrated/version_checking_module/CMakeLists.txt index 9b6fa271..19706e87 100644 --- a/src/module/integrated/version_checking_module/CMakeLists.txt +++ b/src/module/integrated/version_checking_module/CMakeLists.txt @@ -23,7 +23,7 @@ # # SPDX-License-Identifier: GPL-3.0-or-later -# com.bktus.gpgfrontend.module.integrated.version-checking +# com.bktus.gpgfrontend.module.integrated.version_checking aux_source_directory(. INTEGRATED_MODULE_SOURCE) @@ -37,6 +37,10 @@ generate_export_header(gpgfrontend_version_checking target_include_directories(gpgfrontend_version_checking PRIVATE ${CMAKE_SOURCE_DIR}/third_party/spdlog/include) +# set output directory +set_target_properties(gpgfrontend_version_checking PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mods) + if (XCODE_BUILD) set_target_properties(gpgfrontend_version_checking PROPERTIES @@ -59,10 +63,6 @@ else() target_link_libraries(gpgfrontend_version_checking PUBLIC Qt6::Core Qt6::Network) endif() -# set output directory -set_target_properties(gpgfrontend_version_checking PROPERTIES - LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mods) - # property set_property(TARGET gpgfrontend_version_checking PROPERTY AUTOMOC ON) diff --git a/src/module/integrated/version_checking_module/VersionCheckTask.cpp b/src/module/integrated/version_checking_module/VersionCheckTask.cpp index 044f81ec..5ea9c48e 100644 --- a/src/module/integrated/version_checking_module/VersionCheckTask.cpp +++ b/src/module/integrated/version_checking_module/VersionCheckTask.cpp @@ -78,9 +78,9 @@ void VersionCheckTask::slot_parse_latest_version_info() { auto version_match = re.match(latest_version); if (version_match.hasMatch()) { latest_version = version_match.captured(0); - GFModuleLogInfo( - fmt::format("latest version from github: {}", latest_version) - .c_str()); + GFModuleLogInfo(fmt::format("latest released version from github: {}", + latest_version) + .c_str()); } else { latest_version = current_version_; GFModuleLogWarn( |