mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-27 12:57:21 +00:00
fix missing dependency in SharedLibrary sample (#106)
This commit is contained in:
parent
ee5e93366b
commit
3992bf904a
@ -23,6 +23,13 @@
|
|||||||
# (CMake writes the output to an XCOFF file named libLibrary.so)
|
# (CMake writes the output to an XCOFF file named libLibrary.so)
|
||||||
add_library(Library SHARED library.c library.h)
|
add_library(Library SHARED library.c library.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(Library retrocrt)
|
||||||
|
endif(TARGET retrocrt)
|
||||||
|
|
||||||
# Step 2: Tell the linker to export symbols.
|
# Step 2: Tell the linker to export symbols.
|
||||||
|
|
||||||
# Either export everything:
|
# Either export everything:
|
||||||
|
Loading…
Reference in New Issue
Block a user