File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ set_target_properties (gmock_main PROPERTIES FOLDER "Tests")
5151set (target_name yup_tests)
5252set (target_version "1.0.0" )
5353set (target_console OFF )
54+ set (target_gtest_modules "" )
5455set (target_modules
5556 yup_core
5657 yup_audio_basics
@@ -61,12 +62,13 @@ set (target_modules
6162
6263if (NOT YUP_PLATFORM_EMSCRIPTEN)
6364 list (APPEND target_modules
64- yup_gui
65+ yup_gui)
66+ list (APPEND target_gtest_modules
6567 GTest::gtest
6668 GTest::gmock)
6769else ()
6870 set (target_console ON )
69- list (APPEND target_modules
71+ list (APPEND target_gtest_modules
7072 GTest::gtest_main
7173 GTest::gmock_main)
7274endif ()
@@ -80,8 +82,7 @@ yup_standalone_app (
8082 YUP_USE_CURL=0
8183 MODULES
8284 ${target_modules}
83- GTest::gtest
84- GTest::gmock)
85+ ${target_gtest_modules} )
8586
8687# ==== Setup sources
8788set (sources "" )
You can’t perform that action at this time.
0 commit comments