mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 15:47:20 +02:00
prefer system installation of inih
Closes #195. Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
parent
065454bb4e
commit
f0943ff431
@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "common-logging.h"
|
||||
|
||||
/* Ben Hoyt's inih library */
|
||||
#include "ini.h"
|
||||
#include <ini.h>
|
||||
|
||||
#include <dirent.h>
|
||||
#include <math.h>
|
||||
|
@ -157,8 +157,10 @@ endif
|
||||
# main library
|
||||
if with_daemon == true
|
||||
# inih currently only needed by the daemon
|
||||
inih = subproject('inih')
|
||||
inih_dependency = inih.get_variable('inih_dependency')
|
||||
inih_dependency = dependency(
|
||||
'inih',
|
||||
fallback : ['inih', 'inih_dependency']
|
||||
)
|
||||
|
||||
subdir('daemon')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user