Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop
This commit is contained in:
commit
fbda1424f3
|
@ -327,7 +327,7 @@ set(OTHERS
|
||||||
|
|
||||||
set(LIB_SOURCES ${PRIMITIVES} ${SPECIALIZE} ${OTHERS})
|
set(LIB_SOURCES ${PRIMITIVES} ${SPECIALIZE} ${OTHERS})
|
||||||
|
|
||||||
add_library(softfloat ${LIB_SOURCES})
|
add_library(softfloat STATIC ${LIB_SOURCES})
|
||||||
set_property(TARGET softfloat PROPERTY C_STANDARD 99)
|
set_property(TARGET softfloat PROPERTY C_STANDARD 99)
|
||||||
target_compile_definitions(softfloat PRIVATE
|
target_compile_definitions(softfloat PRIVATE
|
||||||
SOFTFLOAT_ROUND_ODD
|
SOFTFLOAT_ROUND_ODD
|
||||||
|
@ -347,7 +347,7 @@ set_target_properties(softfloat PROPERTIES
|
||||||
|
|
||||||
install(TARGETS softfloat
|
install(TARGETS softfloat
|
||||||
EXPORT ${PROJECT_NAME}Targets # for downstream dependencies
|
EXPORT ${PROJECT_NAME}Targets # for downstream dependencies
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libs # static lib
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/static COMPONENT libs # static lib
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libs # shared lib
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libs # shared lib
|
||||||
FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libs # for mac
|
FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libs # for mac
|
||||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT devel # headers for mac (note the different component -> different package)
|
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT devel # headers for mac (note the different component -> different package)
|
||||||
|
|
Loading…
Reference in New Issue