cmake: make OpenLibm a dependency

This is required for the floating-point printing with Grisu2b.
This commit is contained in:
Lephe 2021-04-27 15:24:24 +02:00
parent 74b2dbeb36
commit c1e96173da
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ if(Gint_FOUND)
IMPORTED_LOCATION "${GINT_PATH}"
INTERFACE_COMPILE_OPTIONS -fstrict-volatile-bitfields
INTERFACE_COMPILE_DEFINITIONS "${INTF_DEFN}"
INTERFACE_LINK_LIBRARIES -lgcc
INTERFACE_LINK_LIBRARIES "-lopenlibm;-lgcc"
INTERFACE_LINK_OPTIONS "${INTF_LINK}"
)
endif()

View File

@ -1,4 +1,4 @@
# giteapc: version=1 depends=Lephenixnoir/sh-elf-gcc,Lephenixnoir/fxsdk
# giteapc: version=1 depends=Lephenixnoir/sh-elf-gcc,Lephenixnoir/fxsdk,Lephenixnoir/OpenLibm
-include giteapc-config.make