fix AutomatedTestSuite elmulator detection

This commit is contained in:
Wolfgang Thaller 2017-10-07 16:04:16 +02:00
parent 19ab4d99ae
commit 82c625ae6f

View File

@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.3)
find_program(LAUNCH_APPL LaunchAPPL PATH "${CMAKE_INSTALL_PREFIX}/../bin/") find_program(LAUNCH_APPL LaunchAPPL PATH "${CMAKE_INSTALL_PREFIX}/../bin/")
execute_process(COMMAND ${LAUNCH_APPL} --list-emulators execute_process(COMMAND ${LAUNCH_APPL} --list-emulators
OUTPUT_VARIABLE EMULATOR_LIST) OUTPUT_VARIABLE EMULATOR_LIST)
string(REPLACE "\n" ";" EMULATOR_LIST ${EMULATOR_LIST}) string(REPLACE "\n" ";" EMULATOR_LIST "${EMULATOR_LIST}")
if(CMAKE_SYSTEM_NAME MATCHES "RetroCarbon") if(CMAKE_SYSTEM_NAME MATCHES "RetroCarbon")
if("carbon" IN_LIST EMULATOR_LIST) if("carbon" IN_LIST EMULATOR_LIST)