mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
parent
f74f5d2734
commit
ee674e3d80
2 changed files with 14 additions and 10 deletions
|
@ -10,6 +10,9 @@ set_target_properties(spicyz PROPERTIES CXX_EXTENSIONS OFF)
|
|||
|
||||
target_include_directories(spicyz PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
if (SPICY_ROOT_DIR)
|
||||
target_link_libraries(spicyz PRIVATE hilti spicy)
|
||||
else ()
|
||||
if (BINARY_PACKAGING_MODE)
|
||||
# Ensure we link against the HILTI/Spicy toolchain libraries (should be
|
||||
# default, but isn't set here for some reason).
|
||||
|
@ -21,6 +24,7 @@ else ()
|
|||
hilti_link_libraries_in_tree(spicyz PRIVATE)
|
||||
spicy_link_libraries_in_tree(spicyz PRIVATE)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
prefer_configured_spicy_include_dirs(spicyz)
|
||||
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
|
||||
#include <hilti/ast/declarations/type.h>
|
||||
#include <hilti/compiler/init.h>
|
||||
#include <hilti/compiler/plugin.h>
|
||||
|
||||
#include <spicy/ast/types/unit.h>
|
||||
#include <spicy/ast/visitor.h>
|
||||
#include <spicy/autogen/config.h>
|
||||
#include <spicy/compiler/init.h>
|
||||
|
||||
#include "compiler/plugin.h"
|
||||
#include "config.h"
|
||||
#include "glue-compiler.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue