Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

fc: make Secp256k1 var names consistent #89

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions libraries/fc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ SET( BUILD_SHARED_LIBS NO )
SET( ECC_IMPL secp256k1 CACHE STRING "secp256k1 or openssl or mixed" )


IF(NOT "$ENV{SECP256K1_ROOT_DIR}" STREQUAL "")
set(SECP256K1_ROOT_DIR $ENV{SECP256K1_ROOT_DIR} )
set(SECP256K1_INCLUDE_DIR ${SECP256K1_ROOT_DIR}/include)
IF(NOT "$ENV{Secp256k1_ROOT_DIR}" STREQUAL "")
set(Secp256k1_ROOT_DIR $ENV{Secp256k1_ROOT_DIR} )
set(Secp256k1_INCLUDE_DIR ${Secp256k1_ROOT_DIR}/include)
ELSE()
SET( SECP256K1_INCLUDE_DIR /usr/local/include )
SET( SECP256K1_ROOT_DIR /usr/local )
SET( Secp256k1_INCLUDE_DIR /usr/local/include )
SET( Secp256k1_ROOT_DIR /usr/local )
ENDIF()

message(STATUS "Setting up SECP256K1 root and include vars to ${SECP256K1_ROOT_DIR}, ${SECP256K1_INCLUDE_DIR}")
message(STATUS "Setting up Secp256k1 root and include vars to ${Secp256k1_ROOT_DIR}, ${Secp256k1_INCLUDE_DIR}")

set(platformBitness 32)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
Expand Down Expand Up @@ -158,7 +158,7 @@ target_include_directories(fc
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include
${Boost_INCLUDE_DIR}
${OPENSSL_INCLUDE_DIR}
${SECP256K1_INCLUDE_DIR}
${Secp256k1_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/vendor/websocketpp

PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
Expand Down