Commit c8d59890 authored by Baba's avatar Baba 👃

reglage non debian

parent f3bbd61f
......@@ -18,15 +18,15 @@ libxml2 = dependency('libxml-2.0')
protobuf = dependency('protobuf')
guile = dependency('guile-2.0')
noise = compilateur.find_library('noise')
if compilateur.has_header('noise/noise.h')
libnoise = '1'
if compilateur.has_header('libnoise/noise.h')
add_global_arguments('-DLIBNOISE=1', language:'cpp')
libnoise = '0'
sfml = dependency('sfml-graphics')
executable('factorywars', sources, dependencies: [noise, libxml2,
sfml, protobuf, guile], include_directories :
en_tetes, cpp_args : ['-DLOCALEDIR="/usr/local/share/locale"',
'-DFONTSDIR="media/fonts"', '-DTEXTURESDIR="media/textures"',
'-DRUN_IN_PLACE=1', '-DLIBNOISE="'+libnoise+'"'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment