Fix compile issue (#88)

This commit is contained in:
Weining
2019-08-02 07:13:16 +08:00
committed by Wang Xin
parent 9aa9cbde77
commit 09d5149081
6 changed files with 38 additions and 35 deletions

View File

@ -44,9 +44,8 @@ if (NOT ("$ENV{VALGRIND}" STREQUAL "YES"))
add_definitions(-DNVALGRIND)
endif ()
# Currently build as 32-bit by default.
set (BUILD_AS_64BIT_SUPPORT "NO")
#set (BUILD_AS_64BIT_SUPPORT "YES")
# Currently build as 64-bit by default.
set (BUILD_AS_64BIT_SUPPORT "YES")
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
if (${BUILD_AS_64BIT_SUPPORT} STREQUAL "YES")