Skip to content

Commit

Permalink
I need only icu.lib
Browse files Browse the repository at this point in the history
  • Loading branch information
visuve committed Apr 14, 2024
1 parent 84631fd commit a37c329
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions PystykorvaLib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# apt install libicu-dev / dnf install icu
find_package(ICU COMPONENTS i18n uc REQUIRED)

message(${ICU_INCLUDE_DIR})

file(GLOB SourceFiles "*.cpp")

if(CMAKE_SYSTEM_NAME MATCHES "Windows")
Expand All @@ -13,5 +8,6 @@ endif()

add_library(${LibraryName} STATIC ${SourceFiles})
target_precompile_headers(${LibraryName} PRIVATE "PCH.hpp")
target_link_libraries(${LibraryName} LINK_PUBLIC ICU::i18n ICU::uc)

# apt install libicu-dev / dnf install icu
target_link_libraries(${LibraryName} LINK_PUBLIC icu)

0 comments on commit a37c329

Please sign in to comment.