Browse Source

Add -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS needed by LLVM (reverted from commit 66d5a2b5cd)

cl-refactor
Paweł Bylica 10 years ago
parent
commit
20190b145b
  1. 4
      libevmjit/CMakeLists.txt

4
libevmjit/CMakeLists.txt

@ -10,10 +10,6 @@ if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
set_source_files_properties(Cache.cpp PROPERTIES COMPILE_FLAGS -fno-rtti) set_source_files_properties(Cache.cpp PROPERTIES COMPILE_FLAGS -fno-rtti)
endif () 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}) add_library(${TARGET_NAME} ${SOURCES} ${HEADERS})
set_property(TARGET ${TARGET_NAME} PROPERTY FOLDER "libs") set_property(TARGET ${TARGET_NAME} PROPERTY FOLDER "libs")

Loading…
Cancel
Save