提交 c55c7e89 编写于 作者: B Bucky Kittinger

Forgot the module files

上级 cfa6e91c
# - Try to find SOFTFLOAT
# TODO: Check if compiler is able to generate wasm32
message( STATUS "Looking for softfloat library" )
find_library( SOFTFLOAT_LIB libsoftfloat.a PATHS ${SOFTFLOAT_ROOT} NO_DEFAULT_PATH )
find_package(Softfloat)
if ( ${SOFTFLOAT_LIB} STREQUAL "SOFTFLOAT_LIB-NOTFOUND" )
message( FATAL_ERROR "Unable to find softfloat library" )
return()
else()
message( STATUS "Found softfloat library " ${SOFTFLOAT_LIB} )
set( SOFTFLOAT_INC, ${SOFTFLOAT_ROOT}/include )
add_library(softfloat_lib STATIC IMPORTED )
set_target_properties( softfloat_lib PROPERTIES
IMPORTED_LOCATION "${SOFTFLOAT_LIB}"
INTERFACE_INCLUDE_DIRECTORIES "${SOFTFLOAT_INC}"
)
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册