mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Add -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS needed by LLVM
This commit is contained in:
parent
1b490244bf
commit
66d5a2b5cd
1 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,10 @@ if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
|||
set_source_files_properties(Cache.cpp PROPERTIES COMPILE_FLAGS -fno-rtti)
|
||||
endif ()
|
||||
|
||||
# Needed by LLVM
|
||||
# TODO: If LLVMConfig.cmake is fixed, ${LLVM_DEFINITIONS} var can be used
|
||||
add_definitions(-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS)
|
||||
|
||||
add_library(${TARGET_NAME} ${SOURCES} ${HEADERS})
|
||||
set_property(TARGET ${TARGET_NAME} PROPERTY FOLDER "libs")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue