[evolution-data-server] I#186 - Allow override of PHONENUMBER_DEFINITIONS



commit bc869b823578d1f5bff2e4d284774d7e1c46fdbb
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jan 31 09:47:17 2020 +0100

    I#186 - Allow override of PHONENUMBER_DEFINITIONS
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/186

 cmake/modules/FindPhonenumber.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cmake/modules/FindPhonenumber.cmake b/cmake/modules/FindPhonenumber.cmake
index 04d105685..80bcda4a4 100644
--- a/cmake/modules/FindPhonenumber.cmake
+++ b/cmake/modules/FindPhonenumber.cmake
@@ -20,7 +20,7 @@ if(NOT WITH_PHONENUMBER)
        return()
 endif(NOT WITH_PHONENUMBER)
 
-set(PHONENUMBER_DEFINITIONS -DI18N_PHONENUMBERS_USE_BOOST)
+set(PHONENUMBER_DEFINITIONS -DI18N_PHONENUMBERS_USE_BOOST CACHE STRING "libphonenumber compile definitions, 
default is -DI18N_PHONENUMBERS_USE_BOOST")
 set(PHONENUMBER_INCLUDE_DIRS)
 set(PHONENUMBER_LIB_DIRS)
 set(PHONENUMBER_LDFLAGS -lphonenumber)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]