mirror of
https://codeberg.org/armin/saftpumpe.git
synced 2026-09-01 04:10:46 +02:00
fix Linux build: link juce_dsp and make CPU count detection portable
This commit is contained in:
parent
7a36f7b1b1
commit
a02f8d67b6
2 changed files with 2 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ target_link_libraries(Saftpumpe
|
|||
juce::juce_audio_basics
|
||||
juce::juce_audio_devices
|
||||
juce::juce_audio_formats
|
||||
juce::juce_dsp
|
||||
juce::juce_audio_plugin_client
|
||||
juce::juce_audio_processors
|
||||
juce::juce_audio_utils
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
BUILD_DIR := build
|
||||
BUILD_TYPE := Release
|
||||
JOBS := $(shell sysctl -n hw.ncpu)
|
||||
JOBS := $(shell nproc 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 2)
|
||||
|
||||
all: build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue