File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ if (${MSVC})
4040 /utf-8 )
4141else ()
4242 target_link_libraries (platform-properties INTERFACE
43- icuuc icui18n )
43+ icuuc icui18n ICU::uc )
44+ target_include_directories (platform-properties INTERFACE
45+ ${ICU_INCLUDE_DIRS} / )
4446endif ()
4547
4648# alicia-libserver target
@@ -69,10 +71,6 @@ add_library(alicia-libserver STATIC
6971 src/libserver/util/Util.cpp )
7072target_include_directories (alicia-libserver PUBLIC
7173 include / )
72- if (NOT WIN32 )
73- target_include_directories (alicia-libserver PRIVATE
74- ${ICU_INCLUDE_DIRS} / )
75- endif ()
7674target_link_libraries (alicia-libserver PUBLIC
7775 project-properties
7876 platform-properties
@@ -81,9 +79,6 @@ target_link_libraries(alicia-libserver PUBLIC
8179 nlohmann_json::nlohmann_json
8280 yaml-cpp::yaml-cpp
8381 zlibstatic )
84- if (NOT WIN32 )
85- target_link_libraries (alicia-libserver PUBLIC ICU::uc )
86- endif ()
8782
8883# alicia-server target
8984add_executable (alicia-server
You can’t perform that action at this time.
0 commit comments