From b3d227dc71a2e5b73f863ed6bf37c9f84cf0f41b Mon Sep 17 00:00:00 2001 From: Bliblank Date: Wed, 24 Jun 2026 21:00:56 -0500 Subject: [PATCH] cross platform fix --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index afaa0a7..da80eb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,12 +61,18 @@ add_library(sonobulus_core STATIC src/synth/Instruments/PianoString.cpp ) +if (WIN32) + set(LIBCONFIG_LIB libconfig++) +else() + set(LIBCONFIG_LIB config++) +endif() + target_link_libraries(sonobulus_core PRIVATE Qt6::Core Qt6::Quick rtaudio rtmidi - config++ + ${LIBCONFIG_LIB} ) target_include_directories(sonobulus_core PRIVATE