diff --git a/CMakeLists.txt b/CMakeLists.txt index 32c4795..e496885 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ add_custom_target(run) function(add_hwtest module testname filelist) add_executable(${module}_${testname} ${filelist} ${COMMON_CODE}) target_link_libraries(${module}_${testname} hwtests_common wiiuse bte fat ogc m) - add_custom_target(run_${module}_${testname} sh ${CMAKE_SOURCE_DIR}/run.sh ${module}_${testname}) + add_custom_target(run_${module}_${testname} sh ${CMAKE_SOURCE_DIR}/run.sh ${module}_${testname}${CMAKE_EXECUTABLE_SUFFIX}) add_dependencies(run_${module}_${testname} ${module}_${testname}) add_dependencies(run run_${module}_${testname}) endfunction()