mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-08 23:32:23 +03:00
examples: add cmake enabling option BUILD_EXAMPLES.
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user