[libsoup/wip/meson] Move APACHE_HTTPD to configuration data



commit 140fc0de873fec822412bad0d0d5ed44dcb3d845
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Oct 4 14:41:08 2017 +0200

    Move APACHE_HTTPD to configuration data
    
    There is no need to have it as project arguments.

 meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4d9da30..8550d08 100644
--- a/meson.build
+++ b/meson.build
@@ -64,7 +64,7 @@ if apache_httpd2.found()
     apache_httpd2_version = apache_httpd2_version.split('/')[1].split(' ')[0]
     if apache_httpd2_version.version_compare('>=2.4')
       have_apache = true
-      add_project_arguments('-DAPACHE_HTTPD="' + apache_httpd2.path() + '"', language : 'c')
+      cdata.set('APACHE_HTTPD', '"@0@"'.format(apache_httpd2.path()))
     else
       message('Found ' + apache_httpd2_version + ', but at least 2.4 is needed - ignoring')
     endif


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