소스 검색

meson: define HAVE_CONFIG_H for the project

Alexandre Janniaux 5 년 전
부모
커밋
cf92f0ed1e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      meson.build

+ 2 - 0
meson.build

@@ -144,6 +144,8 @@ libdsm_sources += compat_sources
 
 includes = include_directories('.', 'contrib', 'include', 'compat')
 
+add_project_arguments('-DHAVE_CONFIG_H=1', language: ['c'])
+
 libdsm = library('libdsm',
   libdsm_sources,
   version: meson.project_version(),