meson.build: use set_quoted()

This commit is contained in:
Přemysl Eric Janouch 2021-11-06 11:42:57 +01:00
parent 350cf89e51
commit 58a4ba1d05
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ project('pdf-simple-sign', 'cpp', default_options : ['cpp_std=c++11'],
version : '1.1.1') version : '1.1.1')
conf = configuration_data() conf = configuration_data()
conf.set('PROJECT_NAME', '"' + meson.project_name() + '"') conf.set_quoted('PROJECT_NAME', meson.project_name())
conf.set('PROJECT_VERSION', '"' + meson.project_version() + '"') conf.set_quoted('PROJECT_VERSION', meson.project_version())
configure_file(output : 'config.h', configuration : conf) configure_file(output : 'config.h', configuration : conf)
cryptodep = dependency('libcrypto') cryptodep = dependency('libcrypto')