mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
examples: add cmake enabling option BUILD_EXAMPLES.
This commit is contained in:
parent
b16c6200ee
commit
845ea5c9e3
@ -1408,7 +1408,7 @@ if (NOT BUILD_STATIC_LIBS)
|
|||||||
add_library(hs ALIAS hs_shared)
|
add_library(hs ALIAS hs_shared)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
option(BUILD_EXAMPLES "Build Hyperscan example code (default TRUE)" TRUE)
|
||||||
if(NOT WIN32)
|
if(NOT WIN32 AND BUILD_EXAMPLES)
|
||||||
add_subdirectory(examples)
|
add_subdirectory(examples)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user