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)
|
||||
endif ()
|
||||
|
||||
|
||||
if(NOT WIN32)
|
||||
option(BUILD_EXAMPLES "Build Hyperscan example code (default TRUE)" TRUE)
|
||||
if(NOT WIN32 AND BUILD_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user