...
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.10.0)
|
||||
project(snipplib VERSION 0.1.0 LANGUAGES CXX)
|
||||
|
||||
option(BUILD_EXAMPLES "Build examples" ON)
|
||||
option(SNPLIB_BUILD_EXAMPLES "Build examples" ON)
|
||||
|
||||
set(LIB_HEADERS
|
||||
include/snipplib/concepts/snplib_concepts.h
|
||||
@@ -25,7 +25,7 @@ target_include_directories(
|
||||
"$<INSTALL_INTERFACE:include/${PROJECT_NAME}>"
|
||||
)
|
||||
|
||||
if(BUILD_EXAMPLES)
|
||||
if(SNPLIB_BUILD_EXAMPLES)
|
||||
set(EXAM_STRING str_exam)
|
||||
add_executable(${EXAM_STRING} examples/str_exam.cpp)
|
||||
target_link_libraries(${EXAM_STRING} ${PROJECT_NAME})
|
||||
|
||||
Reference in New Issue
Block a user