From 38e4c9a516f8808d706343a5c525acfe7007fe67 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Fri, 20 Sep 2024 18:07:57 +0200 Subject: [PATCH] tests: fix android compile tests --- tests/compile/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/compile/CMakeLists.txt b/tests/compile/CMakeLists.txt index aa42e9846..cafd1d97d 100644 --- a/tests/compile/CMakeLists.txt +++ b/tests/compile/CMakeLists.txt @@ -46,19 +46,19 @@ if (ANDROID) else() add_executable(sokol-compiletest-c ${exe_type} ${c_sources}) add_executable(sokol-compiletest-nosokolapp-c sokol_gfx.c sokol_imgui_nosokolapp.c sokol_nuklear_nosokolapp.c) + target_link_libraries(sokol-compiletest-nosokolapp-c PUBLIC cimgui nuklear) + configure_c(sokol-compiletest-nosokolapp-c) endif() target_link_libraries(sokol-compiletest-c PUBLIC cimgui nuklear spine) -target_link_libraries(sokol-compiletest-nosokolapp-c PUBLIC cimgui nuklear) configure_c(sokol-compiletest-c) -configure_c(sokol-compiletest-nosokolapp-c) if (ANDROID) add_library(sokol-compiletest-cxx SHARED ${cxx_sources}) else() add_executable(sokol-compiletest-cxx ${exe_type} ${cxx_sources}) add_executable(sokol-compiletest-nosokolapp-cxx sokol_gfx.cc sokol_imgui_nosokolapp.cc) + target_link_libraries(sokol-compiletest-nosokolapp-cxx PUBLIC imgui) + configure_cxx(sokol-compiletest-nosokolapp-cxx) endif() target_link_libraries(sokol-compiletest-cxx PUBLIC imgui nuklear spine) -target_link_libraries(sokol-compiletest-nosokolapp-cxx PUBLIC imgui) configure_cxx(sokol-compiletest-cxx) -configure_cxx(sokol-compiletest-nosokolapp-cxx)