From 3907287dc0452e4537c6af21ee38e5c4b27873be Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Mon, 8 Dec 2014 01:31:24 +0100 Subject: [PATCH] Fix run targets --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()