Remove icu data from windows executable
This commit is contained in:
parent
bf119ee0e3
commit
8f130ada92
16 changed files with 1542 additions and 9 deletions
12
conan/icu/all/test_package/CMakeLists.txt
Normal file
12
conan/icu/all/test_package/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
cmake_minimum_required(VERSION 3.15)
|
||||
project(test_package LANGUAGES CXX)
|
||||
|
||||
find_package(ICU REQUIRED uc)
|
||||
|
||||
add_executable(${PROJECT_NAME} test_package.cpp)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE ICU::uc)
|
||||
if(ICU_VERSION VERSION_LESS "75.1")
|
||||
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11)
|
||||
else()
|
||||
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17)
|
||||
endif()
|
||||
Loading…
Add table
Add a link
Reference in a new issue