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