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