mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
cmake: fix optimise define
This commit is contained in:
parent
ba77229c02
commit
74d5d0e819
@ -115,7 +115,9 @@ if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS)
|
||||
endif()
|
||||
|
||||
#for config
|
||||
set(HS_OPTIMIZE OPTIMISE)
|
||||
if (OPTIMISE)
|
||||
set(HS_OPTIMIZE ON)
|
||||
endif()
|
||||
|
||||
CMAKE_DEPENDENT_OPTION(DUMP_SUPPORT "Dump code support; normally on, except in release builds" ON "NOT RELEASE_BUILD" OFF)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user