~aleteoryx/muditaos

ref: 9c2a304995a308db8821cfc84bfe1957e66c9ca2 muditaos/module-utils/phonenumber/CMakeLists.txt -rw-r--r-- 475 bytes
9c2a3049 — Piotr Tański [EGD-7769] Fixed private number translation 4 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
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()