~aleteoryx/muditaos

ref: master muditaos/module-utils/phonenumber/CMakeLists.txt -rw-r--r-- 475 bytes
2cd0e472 — Lefucjusz [BH-000] Update Harmony 2.10.0 changelog 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
add_library(utils-phonenumber STATIC)

target_sources(utils-phonenumber
    PUBLIC
        NumberHolderMatcher.hpp
        PhoneNumber.hpp

    PRIVATE
        PhoneNumber.cpp
)

target_include_directories(utils-phonenumber
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>
)

target_link_libraries(utils-phonenumber
    PUBLIC
        utf8
        utils-locale
        libphonenumber::libphonenumber
)

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