Update build dependencies to properly link dynamically.
This commit is contained in:
+8
-1
@@ -112,7 +112,14 @@ add_executable(test_provisioning
|
||||
tests/test_provisioning.cpp
|
||||
)
|
||||
target_include_directories(test_provisioning PRIVATE src)
|
||||
target_link_libraries(test_provisioning PRIVATE SDL3::SDL3)
|
||||
# provisioning.h pulls in app_state.h, so the test compiles against the SDL3,
|
||||
# SDL3_mixer, and SQLite headers transitively (app_state.h -> audio_manager.h ->
|
||||
# SDL3_mixer; app_state.h -> database_manager.h -> sqlite3.h).
|
||||
target_link_libraries(test_provisioning PRIVATE
|
||||
SDL3::SDL3
|
||||
SDL3_mixer::SDL3_mixer
|
||||
SQLite3::SQLite3
|
||||
)
|
||||
|
||||
add_executable(test_assets
|
||||
tests/test_assets.cpp
|
||||
|
||||
Reference in New Issue
Block a user