Skip to content

Commit

Permalink
fix: fix security compile
Browse files Browse the repository at this point in the history
fix security compile

Bug: https://pms.uniontech.com/bug-view-296989.html
Log: fix security compile
  • Loading branch information
myk1343 authored and pengfeixx committed Dec 26, 2024
1 parent e07f219 commit 57636ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libimageviewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ project(libimageviewer VERSION 0.1.0)

# Check dtkwidget version
find_package(DtkWidget REQUIRED)

if (${DtkWidget_VERSION} VERSION_LESS "5.6.9")
if (DtkWidget_VERSION VERSION_LESS "5.6.9")
message(STATUS "Use specific dtk watermakr, Version < 5.6.9")
add_definitions(-DUSE_SPECIFIC_DTK_WATERMARK)
else()
Expand All @@ -24,7 +23,7 @@ set(CMAKE_C_FLAGS "-fPIC")
set(CMAKE_CXX_FLAGS "-fPIC")

#Qt需要的包
set(QtModule Core Gui Widgets Svg DBus Concurrent PrintSupport LinguistTools)
set(QtModule Core Gui Widgets Svg DBus Concurrent PrintSupport LinguistTools Network)

set(TARGET_NAME imageviewer)
set(CMD_NAME imageviewer)
Expand Down

0 comments on commit 57636ab

Please sign in to comment.