mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Add windows DLL support
(with AVX2 flag removed currently)
This commit is contained in:
committed by
Chang, Harry
parent
49592833a7
commit
e395cd3166
@@ -16,7 +16,11 @@ if (BUILD_CHIMERA)
|
||||
target_link_libraries(hscheck hs chimera pcre expressionutil)
|
||||
endif()
|
||||
else()
|
||||
add_executable(hscheck ${hscheck_SOURCES})
|
||||
if(WIN32 AND (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS))
|
||||
add_executable(hscheck ${hscheck_SOURCES} $<TARGET_OBJECTS:hs_compile_shared> $<TARGET_OBJECTS:hs_exec_shared>)
|
||||
else()
|
||||
add_executable(hscheck ${hscheck_SOURCES})
|
||||
endif()
|
||||
if(NOT WIN32)
|
||||
target_link_libraries(hscheck hs expressionutil pthread)
|
||||
else()
|
||||
|
Reference in New Issue
Block a user