mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 21:49:33 +00:00
use the right RetroConsole library on Carbon (fixes #65)
This commit is contained in:
parent
2999ed8613
commit
f8a06b6d68
@ -49,7 +49,11 @@ function(add_application name)
|
|||||||
list(APPEND ARGS_MAKEAPPL_ARGS -DBREAK_ON_ENTRY)
|
list(APPEND ARGS_MAKEAPPL_ARGS -DBREAK_ON_ENTRY)
|
||||||
endif()
|
endif()
|
||||||
if(${ARGS_CONSOLE})
|
if(${ARGS_CONSOLE})
|
||||||
|
if(TARGET RetroConsole OR NOT (CMAKE_SYSTEM_NAME MATCHES RetroCarbon))
|
||||||
target_link_libraries(${name} RetroConsole)
|
target_link_libraries(${name} RetroConsole)
|
||||||
|
else()
|
||||||
|
target_link_libraries(${name} RetroConsoleCarbon)
|
||||||
|
endif()
|
||||||
|
|
||||||
# RetroConsole library uses C++:
|
# RetroConsole library uses C++:
|
||||||
set_target_properties(${name} PROPERTIES LINKER_LANGUAGE CXX)
|
set_target_properties(${name} PROPERTIES LINKER_LANGUAGE CXX)
|
||||||
|
Loading…
Reference in New Issue
Block a user