]>
Commit | Line | Data |
---|---|---|
570e0eb5 JB |
1 | --- libphonenumber-8.13.8/cpp/CMakeLists.txt.orig 2023-01-06 01:42:02.871437832 +0100 |
2 | +++ libphonenumber-8.13.8/cpp/CMakeLists.txt 2023-01-06 01:49:02.681479463 +0100 | |
3 | @@ -599,7 +599,11 @@ if(BUILD_TESTING) | |
4 | # libraries are built properly. | |
5 | if (BUILD_GEOCODER) | |
6 | add_executable (geocoding_test_program "test/phonenumbers/geocoding/geocoding_test_program.cc") | |
7 | + if (${BUILD_STATIC_LIB} STREQUAL "ON") | |
8 | target_link_libraries (geocoding_test_program geocoding phonenumber) | |
9 | + else () | |
10 | + target_link_libraries (geocoding_test_program geocoding-shared phonenumber-shared) | |
11 | + endif () | |
12 | endif () | |
13 | endif() | |
7d6fb481 | 14 |