Skip to content

Commit

Permalink
fix: remove unnecessary link libraries
Browse files Browse the repository at this point in the history
These two libraries are used to detect text encoding,
but they are actually loaded dynamiclly.
Not need to link libraries.
  • Loading branch information
rb-union authored and kegechen committed Aug 23, 2024
1 parent 797101c commit c30b347
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ if(LINUX)
Dtk${DTK_VERSION_MAJOR}::Log
)
target_link_libraries(${LIB_NAME} PRIVATE
ICU::uc
Qt${QT_VERSION_MAJOR}::CorePrivate
uchardet
)
if("${QT_VERSION_MAJOR}" STREQUAL "5")
target_link_libraries(${LIB_NAME} PRIVATE
Expand All @@ -93,9 +91,7 @@ else()
Qt${QT_VERSION_MAJOR}::Xml
)
target_link_libraries(${LIB_NAME} PRIVATE
ICU::uc
Qt${QT_VERSION_MAJOR}::CorePrivate
uchardet
)
if("${QT_VERSION_MAJOR}" STREQUAL "5")
target_link_libraries(${LIB_NAME} PRIVATE
Expand Down

0 comments on commit c30b347

Please sign in to comment.