mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fixed cmake scripts
This commit is contained in:
parent
b7cbd946d6
commit
af656a235b
1 changed files with 6 additions and 0 deletions
|
@ -88,6 +88,9 @@ if ( MSVC )
|
||||||
set(LIBKQUEUE_INCLUDE_DIRS ${kqueue_INCLUDES})
|
set(LIBKQUEUE_INCLUDE_DIRS ${kqueue_INCLUDES})
|
||||||
set(LIBKQUEUE_LIBRARIES ${kqueue_LIBS})
|
set(LIBKQUEUE_LIBRARIES ${kqueue_LIBS})
|
||||||
|
|
||||||
|
# Set CAres
|
||||||
|
find_package(c-ares)
|
||||||
|
|
||||||
add_subdirectory(auxil/libunistd)
|
add_subdirectory(auxil/libunistd)
|
||||||
set(UNISTD_INCLUDES ${CMAKE_SOURCE_DIR}/auxil/libunistd/unistd ${CMAKE_SOURCE_DIR}/auxil/libunistd/regex)
|
set(UNISTD_INCLUDES ${CMAKE_SOURCE_DIR}/auxil/libunistd/unistd ${CMAKE_SOURCE_DIR}/auxil/libunistd/regex)
|
||||||
include_directories(BEFORE ${UNISTD_INCLUDES})
|
include_directories(BEFORE ${UNISTD_INCLUDES})
|
||||||
|
@ -100,6 +103,9 @@ if ( MSVC )
|
||||||
set(BROKER_DISABLE_TESTS true)
|
set(BROKER_DISABLE_TESTS true)
|
||||||
set(BROKER_DISABLE_DOC_EXAMPLES true)
|
set(BROKER_DISABLE_DOC_EXAMPLES true)
|
||||||
add_definitions(-DDOCTEST_CONFIG_NO_MULTITHREADING)
|
add_definitions(-DDOCTEST_CONFIG_NO_MULTITHREADING)
|
||||||
|
|
||||||
|
# Disable Spicy as it is not yet supported in Windows.
|
||||||
|
set(DISABLE_SPICY true)
|
||||||
else ()
|
else ()
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue