mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 01:12:15 +03:00
examples: add cmake enabling option BUILD_EXAMPLES.
This commit is contained in:
committed by
Konstantinos Margaritis
parent
4081937814
commit
5450ef34f2
@@ -1432,7 +1432,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()
|
||||
|
||||
Reference in New Issue
Block a user