From 689c8268792e77be70b54e311d89eb87045966e7 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Fri, 20 Sep 2024 18:00:58 +0200 Subject: [PATCH] tests: fix nosokolapp build targets for windows --- tests/compile/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compile/CMakeLists.txt b/tests/compile/CMakeLists.txt index b7d4fd9d6..aa42e9846 100644 --- a/tests/compile/CMakeLists.txt +++ b/tests/compile/CMakeLists.txt @@ -45,7 +45,7 @@ if (ANDROID) add_library(sokol-compiletest-c SHARED ${c_sources}) else() add_executable(sokol-compiletest-c ${exe_type} ${c_sources}) - add_executable(sokol-compiletest-nosokolapp-c ${exe_type} sokol_gfx.c sokol_imgui_nosokolapp.c sokol_nuklear_nosokolapp.c) + add_executable(sokol-compiletest-nosokolapp-c sokol_gfx.c sokol_imgui_nosokolapp.c sokol_nuklear_nosokolapp.c) endif() target_link_libraries(sokol-compiletest-c PUBLIC cimgui nuklear spine) target_link_libraries(sokol-compiletest-nosokolapp-c PUBLIC cimgui nuklear) @@ -56,7 +56,7 @@ 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 ${exe_type} sokol_gfx.cc sokol_imgui_nosokolapp.cc) + add_executable(sokol-compiletest-nosokolapp-cxx sokol_gfx.cc sokol_imgui_nosokolapp.cc) endif() target_link_libraries(sokol-compiletest-cxx PUBLIC imgui nuklear spine) target_link_libraries(sokol-compiletest-nosokolapp-cxx PUBLIC imgui)