diff --git a/cmake/StlabUtil.cmake b/cmake/StlabUtil.cmake index 0fbd4af4a..1ecb21988 100644 --- a/cmake/StlabUtil.cmake +++ b/cmake/StlabUtil.cmake @@ -79,9 +79,9 @@ function( stlab_detect_main_executor result_var ) find_package(Qt6 QUIET COMPONENTS Core) stlab_detect_task_system( task_system ) - if( ${task_system} STREQUAL "libdispatch" ) + if( task_system STREQUAL "libdispatch" ) set( result "libdispatch") - elseif( ${task_system} STREQUAL "emscripten" ) + elseif( task_system STREQUAL "emscripten" ) set( result "emscripten") elseif( Qt6Core_FOUND ) set( result "qt")