Browse Source

Disable SECP256k1 windows warnings.

cl-refactor
Gav Wood 10 years ago
parent
commit
551d7588e1
  1. 2
      secp256k1/CMakeLists.txt

2
secp256k1/CMakeLists.txt

@ -31,7 +31,7 @@ else()
add_library(${EXECUTABLE} SHARED ${EXECUTABLE}.c)
endif()
# /TP - compile project as cpp project
set_target_properties(${EXECUTABLE} PROPERTIES COMPILE_FLAGS "/TP")
set_target_properties(${EXECUTABLE} PROPERTIES COMPILE_FLAGS "/TP /wd4244")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_NUM_BOOST -DUSE_FIELD_10X26 -DUSE_FIELD_INV_BUILTIN")
endif()

Loading…
Cancel
Save