another attempt at fixing dependencies

This commit is contained in:
Wolfgang Thaller
2019-08-12 22:37:22 +02:00
parent 7d8b6140d6
commit f16edcfbef
3 changed files with 19 additions and 1 deletions
+9
View File
@@ -30,6 +30,15 @@ add_executable(SystemExtension
SystemExtension.r
ShowInitIcon.h)
if(TARGET retrocrt)
# Hack: if we are building as part of the Retro68 source tree,
# make sure the run-time library is already compiled
# (not needed for standalone projects)
add_dependencies(SystemExtension retrocrt)
endif(TARGET retrocrt)
set_target_properties(SystemExtension PROPERTIES
OUTPUT_NAME SystemExtension.flt