1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-27 12:10:24 +08:00

fix package-name-doesnt-match-sonames

This commit is contained in:
源文雨
2022-04-27 10:12:09 +08:00
committed by GitHub
parent 443da6cd73
commit 2ab21c0dd1

View File

@@ -11,15 +11,11 @@ if (${isBigEndian})
endif() endif()
IF(CMAKE_SIZEOF_VOID_P EQUAL 8) IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
add_library(b1464 STATIC base1464.c) add_library(base16384 SHARED base1464.c)
add_library(b14 SHARED base1464.c)
target_link_libraries(base16384 b1464)
ELSE() ELSE()
add_library(b1432 STATIC base1432.c) add_library(base16384 SHARED base1432.c)
add_library(b14 SHARED base1432.c)
target_link_libraries(base16384 b1432)
ENDIF() ENDIF()
INSTALL(TARGETS base16384 RUNTIME DESTINATION bin) INSTALL(TARGETS base16384 RUNTIME DESTINATION bin)
INSTALL(TARGETS b14 LIBRARY DESTINATION lib) INSTALL(TARGETS base16384 LIBRARY DESTINATION lib)
INSTALL(FILES base14.h DESTINATION include) INSTALL(FILES base16384.h DESTINATION include)