mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Problem: test build fails on 32 bit systems
Solution: define UNITY_SUPPORT_64 to force 64 bit support
This commit is contained in:
parent
eb42e0442b
commit
ac19d5f41c
@ -456,7 +456,7 @@ test_apps = \
|
||||
tests/test_mock_pub_sub \
|
||||
tests/test_socket_null
|
||||
|
||||
UNITY_CPPFLAGS = -I$(top_srcdir)/external/unity -DUNITY_USE_COMMAND_LINE_ARGS -DUNITY_EXCLUDE_FLOAT
|
||||
UNITY_CPPFLAGS = -I$(top_srcdir)/external/unity -DUNITY_USE_COMMAND_LINE_ARGS -DUNITY_EXCLUDE_FLOAT -DUNITY_SUPPORT_64
|
||||
UNITY_LIBS = $(top_builddir)/external/unity/libunity.a
|
||||
noinst_LIBRARIES = external/unity/libunity.a
|
||||
external_unity_libunity_a_SOURCES = external/unity/unity.c \
|
||||
|
@ -154,7 +154,7 @@ add_library(unity STATIC
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../external/unity/unity_internals.h")
|
||||
set_target_properties(unity PROPERTIES
|
||||
PUBLIC_HEADER "${CMAKE_CURRENT_LIST_DIR}/../external/unity/unity.h")
|
||||
target_compile_definitions(unity PUBLIC "UNITY_USE_COMMAND_LINE_ARGS" "UNITY_EXCLUDE_FLOAT")
|
||||
target_compile_definitions(unity PUBLIC "UNITY_USE_COMMAND_LINE_ARGS" "UNITY_EXCLUDE_FLOAT" "UNITY_SUPPORT_64")
|
||||
target_include_directories(unity PUBLIC "${CMAKE_CURRENT_LIST_DIR}/../external/unity")
|
||||
|
||||
if(MSVC_VERSION LESS 1700)
|
||||
|
Loading…
x
Reference in New Issue
Block a user