~aleteoryx/muditaos

ref: 482f62df39b6c02a769ce23f13a30bad8faabf0f muditaos/module-utils/unicode/ucs2/CMakeLists.txt -rw-r--r-- 324 bytes
482f62df — Maciej-Mudita [MOS-190] Add missing translations for EULA 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_library(ucs2 STATIC)

target_sources(ucs2
    PRIVATE
       ucs2/UCS2.cpp
)

target_include_directories(ucs2
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
)

target_link_libraries(ucs2
    PUBLIC
        utf8

    PRIVATE
        log-api
)

if (${ENABLE_TESTS})
    add_subdirectory( test )
endif()