forked from Lephenixnoir/FxLibcTest
cmake: link with OpenLibm
Once the FxLibc gets a CMake module this will be automatic.
This commit is contained in:
parent
9b7c5ae70f
commit
fec8637312
|
@ -47,8 +47,10 @@ add_executable(fxlibctest ${SOURCES} ${ASSETS} ${ASSETS_${FXSDK_PLATFORM}})
|
|||
target_compile_options(fxlibctest PRIVATE
|
||||
-Wall -Wextra -Os -fmacro-prefix-map=${CMAKE_CURRENT_SOURCE_DIR}/src/=)
|
||||
target_link_options(fxlibctest PRIVATE -Wl,-Map=map -Wl,--print-memory-usage)
|
||||
target_include_directories(fxlibctest PRIVATE include/)
|
||||
target_link_libraries(fxlibctest JustUI::JustUI Gint::Gint -lc)
|
||||
target_include_directories(fxlibctest PRIVATE
|
||||
include/
|
||||
"${FXSDK_COMPILER_INSTALL}/include/openlibm/")
|
||||
target_link_libraries(fxlibctest JustUI::JustUI Gint::Gint -lc -lopenlibm)
|
||||
|
||||
foreach(FOLDER IN LISTS FXLIBC_INSTALL)
|
||||
target_include_directories(fxlibctest PRIVATE "${FOLDER}/include")
|
||||
|
|
Loading…
Reference in New Issue