mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
add missing compile flags
This commit is contained in:
parent
7f5e859019
commit
e5050c9373
@ -1358,7 +1358,7 @@ else (FAT_RUNTIME)
|
||||
add_library(hs_exec_shared_avx2 OBJECT ${hs_exec_SRCS} ${hs_exec_avx2_SRCS})
|
||||
list(APPEND RUNTIME_SHLIBS $<TARGET_OBJECTS:hs_exec_shared_avx2>)
|
||||
set_target_properties(hs_exec_shared_avx2 PROPERTIES
|
||||
COMPILE_FLAGS "-march=core-avx2"
|
||||
COMPILE_FLAGS "-march=core-avx2 -mavx2"
|
||||
POSITION_INDEPENDENT_CODE TRUE
|
||||
RULE_LAUNCH_COMPILE "${BUILD_WRAPPER} avx2 ${CMAKE_MODULE_PATH}/keep.syms.in"
|
||||
)
|
||||
|
@ -33,9 +33,9 @@ SET(corpusomatic_SRCS
|
||||
ng_find_matches.cpp
|
||||
)
|
||||
add_library(corpusomatic STATIC ${corpusomatic_SRCS})
|
||||
if (ARCH_IA32)
|
||||
if (ARCH_IA32 OR ARCH_X86_64)
|
||||
set_target_properties(corpusomatic PROPERTIES COMPILE_FLAGS "-mssse3")
|
||||
endif (ARCH_IA32)
|
||||
endif ()
|
||||
|
||||
set(databaseutil_SRCS
|
||||
database_util.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user