mirror of
https://github.com/jb55/nostril.git
synced 2024-12-25 19:45:50 -05:00
CMakeLists.txt: Debug/Release CMAKE_BUILD_TYPE
This commit is contained in:
parent
93c9616d9c
commit
2c481cd581
|
@ -4,6 +4,11 @@ else()
|
|||
cmake_minimum_required(VERSION 3.15)
|
||||
endif()
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
option(BUILD_RELEASE "BUILD_RELEASE" ON)
|
||||
if(BUILD_RELEASE)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
endif()
|
||||
|
||||
project (nostril C)
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/ext/secp256k1/include)
|
||||
|
|
Loading…
Reference in New Issue
Block a user