Skip to content

Commit

Permalink
fix: preprocessor args
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Sep 30, 2024
1 parent 47ab438 commit 15351bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ project_test_env.set(
# set preprocessor macros
add_project_arguments(
'-DIGUANA_ETCDIR="' + get_option('prefix') / project_etc + '"',
'-DDRCDB_MYSQL=1', # FIXME: not really the best place for this...
'-DDRCDB_SQLITE=0', # FIXME: not really the best place for this...
language: [ 'cpp' ],
)

Expand Down
2 changes: 1 addition & 1 deletion src/iguana/services/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services_sources = [ 'Logger.cc', 'Object.cc', 'ConfigFileReader.cc', 'YAMLReade
services_headers = [ 'Logger.h', 'Object.h', 'ConfigFileReader.h', 'YAMLReader.h', 'ConcurrentParam.h', 'GlobalParam.h', 'RCDBReader.h' ]

if rcdb_dep.found()
add_project_arguments('-DUSE_RCDB', '-DRCDB_SQLITE', language: ['cpp'])
add_project_arguments('-DUSE_RCDB', '-DRCDB_MYSQL', language: ['cpp'])
endif

services_lib = shared_library(
Expand Down

0 comments on commit 15351bd

Please sign in to comment.