fix AutomatedTestSuite elmulator detection

This commit is contained in:
Wolfgang Thaller 2017-10-07 16:04:16 +02:00
parent 24bee35d90
commit d045936cb6

View File

@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.3)
find_program(LAUNCH_APPL LaunchAPPL PATH "${CMAKE_INSTALL_PREFIX}/../bin/")
execute_process(COMMAND ${LAUNCH_APPL} --list-emulators
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("carbon" IN_LIST EMULATOR_LIST)