diff --git a/tests/loadtests/CMakeLists.txt b/tests/loadtests/CMakeLists.txt index 8355b60b1e..7bf1f15515 100644 --- a/tests/loadtests/CMakeLists.txt +++ b/tests/loadtests/CMakeLists.txt @@ -113,6 +113,12 @@ if(EMSCRIPTEN) "SHELL:--use-port=sdl3" "SHELL:-Wno-experimental" ) + + target_link_options( + appfwSDL + PUBLIC + -Wno-experimental + ) endif() set_target_properties(appfwSDL PROPERTIES @@ -144,12 +150,6 @@ PUBLIC SDL3::SDL3 ) -target_link_options( - appfwSDL -PUBLIC - -Wno-experimental -) - if(${KTX_FEATURE_LOADTEST_APPS} MATCHES "OpenGL") add_library( GLAppSDL STATIC appfwSDL/GLAppSDL.cpp