]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/liborte/meson.build
meson build: Properly handle generation of orte_config.h
[orte.git] / orte / liborte / meson.build
index be371b75eb7524de28b299c4c907d33514eef22e..adb66756015e418c387d800987a56a883c2caaf7 100644 (file)
@@ -1,18 +1,9 @@
 liborte_args = []
 
-if (host_machine.system() == 'windows')
-  liborte_args += ['-include', 'orte/orte_config_omk_win32.h']
-elif (host_machine.system() == 'linux')
-  liborte_args += ['-include', 'orte/orte_config_omk_linux.h']
-else
-  liborte_args += ['-include', 'orte/orte_config_omk_linux.h']
-endif
-
-
-
 liborte = library(
   'orte',
   [
+    orte_config_h,
     'conv.c',
     'debug.c',
     'event.c',