mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-30 05:20:23 +08:00
fix: shared-library-lacks-prerequisites
This commit is contained in:
@@ -10,6 +10,10 @@ if (${isBigEndian})
|
|||||||
add_definitions(-DWORDS_BIGENDIAN)
|
add_definitions(-DWORDS_BIGENDIAN)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
IF(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin"))
|
||||||
|
add_compile_options("-lc")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
add_library(libbase16384 SHARED base1464.c)
|
add_library(libbase16384 SHARED base1464.c)
|
||||||
ELSE()
|
ELSE()
|
||||||
|
|||||||
Reference in New Issue
Block a user