From 4470b2055c1b2a21c0efb49a633611be8015e6ec Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Mon, 12 Aug 2019 21:16:44 +0200 Subject: [PATCH] attempt to fix dependency ordering of build --- cmake/add_application.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/add_application.cmake b/cmake/add_application.cmake index 8925e7de53..7d75b80059 100644 --- a/cmake/add_application.cmake +++ b/cmake/add_application.cmake @@ -77,9 +77,9 @@ function(add_application name) endif() - if(TARGET libretro) - set_target_properties(${name} PROPERTIES LINK_DEPENDS libretro) - endif(TARGET libretro) + if(TARGET retrocrt) + target_link_libraries(${name} retrocrt) + endif(TARGET retrocrt) if(CMAKE_SYSTEM_NAME MATCHES Retro68)