Skip to content

Commit

Permalink
replace PICO with PICOSHA2
Browse files Browse the repository at this point in the history
  • Loading branch information
okdshin committed Aug 8, 2022
1 parent 90a5f10 commit 27fcf69
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
cmake_minimum_required(VERSION 3.10)
project(picosha2)

option(PICO_TEST "build test" OFF)
option(PICO_EXAMPLE "build example" OFF)
option(PICOSHA2_TEST "build test" OFF)
option(PICOSHA2_EXAMPLE "build example" OFF)

add_library(${PROJECT_NAME} INTERFACE)
target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})

if(PICO_TEST)
if(PICOSHA2_TEST)
add_subdirectory(test)
endif()
if(PICO_EXAMPLE)
if(PICOSHA2_EXAMPLE)
add_subdirectory(example)
endif()
endif()

0 comments on commit 27fcf69

Please sign in to comment.