mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 07:31:32 +00:00
fix AutomatedTestSuite elmulator detection
This commit is contained in:
parent
19ab4d99ae
commit
82c625ae6f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user