diff --git a/d3music/CMakeLists.txt b/d3music/CMakeLists.txt index 9e3ccb65..7e25415d 100644 --- a/d3music/CMakeLists.txt +++ b/d3music/CMakeLists.txt @@ -3,3 +3,6 @@ set(CPPS musicapi.cpp) add_library(d3music STATIC ${HEADERS} ${CPPS}) +target_link_libraries(d3music PRIVATE + music +) diff --git a/manage/CMakeLists.txt b/manage/CMakeLists.txt index b4f9ae03..0f13b85d 100644 --- a/manage/CMakeLists.txt +++ b/manage/CMakeLists.txt @@ -24,4 +24,6 @@ set(CPPS add_library(manage STATIC ${HEADERS} ${CPPS}) target_link_libraries(manage PRIVATE cfile + sndlib + stream_audio ) diff --git a/music/CMakeLists.txt b/music/CMakeLists.txt index e946a424..08e1709c 100644 --- a/music/CMakeLists.txt +++ b/music/CMakeLists.txt @@ -8,4 +8,10 @@ set(CPPS add_library(music STATIC ${HEADERS} ${CPPS}) target_link_libraries(music cfile + stream_audio +) +target_include_directories(music PUBLIC + $ ) diff --git a/lib/music.h b/music/music.h similarity index 100% rename from lib/music.h rename to music/music.h diff --git a/physics/CMakeLists.txt b/physics/CMakeLists.txt index 181cdc02..d793c9a1 100644 --- a/physics/CMakeLists.txt +++ b/physics/CMakeLists.txt @@ -6,3 +6,6 @@ set(CPPS physics.cpp) add_library(physics STATIC ${HEADERS} ${CPPS}) +target_link_libraries(physics PRIVATE + sndlib +) diff --git a/sndlib/CMakeLists.txt b/sndlib/CMakeLists.txt index e0ec3cb2..e2ea5400 100644 --- a/sndlib/CMakeLists.txt +++ b/sndlib/CMakeLists.txt @@ -19,6 +19,7 @@ set(CPPS add_library(sndlib STATIC ${CPPS}) target_link_libraries(sndlib PRIVATE cfile + stream_audio ) target_include_directories(sndlib PUBLIC $ +) diff --git a/lib/streamaudio.h b/stream_audio/streamaudio.h similarity index 100% rename from lib/streamaudio.h rename to stream_audio/streamaudio.h