Skip to content

Commit

Permalink
tests: fix android compile tests
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Sep 20, 2024
1 parent 689c826 commit 38e4c9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/compile/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 38e4c9a

Please sign in to comment.