mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-13 16:33:02 +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…
x
Reference in New Issue
Block a user