diff options
| author | 2015-07-05 22:08:10 +0200 | |
|---|---|---|
| committer | 2015-07-05 22:08:10 +0200 | |
| commit | 1b5d213aaa8235d520271fd0f5dd3f6be7434e3c (patch) | |
| tree | b864bfa40784ea3ba561e13b25eeff1a4226f0cc /scripts | |
| parent | e3e03e67d19353500ed4da484f443e71f2a25fc0 (diff) | |
Added ability to use system PortAudio
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/genie.lua | 5 | ||||
| -rw-r--r-- | scripts/src/3rdparty.lua | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 150c6d73294..cfe0efeff9e 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -129,6 +129,11 @@ newoption { } newoption { + trigger = 'with-bundled-portaudio', + description = 'Build bundled PortAudio library', +} + +newoption { trigger = "distro", description = "Choose distribution", allowed = { diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index c2808c55dc5..889a6737cd5 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -650,6 +650,7 @@ end -- PortAudio library objects -------------------------------------------------- +if _OPTIONS["with-bundled-portaudio"] then project "portaudio" uuid "0755c5f5-eccf-47f3-98a9-df67018a94d4" kind "StaticLib" @@ -775,6 +776,11 @@ project "portaudio" "-Wshadow" } end +else +links { + "portaudio", +} +end -------------------------------------------------- -- UnitTest++ library objects |
