mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
Meta: Install runtime/utility from jakt to make hello-jakt build again
Also add a compile flag that fixes a warning from including <serenity.h>
This commit is contained in:
parent
b0f546cd60
commit
fef83ed47d
2 changed files with 4 additions and 3 deletions
|
@ -78,8 +78,8 @@ function(compile_jakt source)
|
|||
)
|
||||
get_property(JAKT_INCLUDE_DIR TARGET Lagom::jakt PROPERTY IMPORTED_INCLUDE_DIRECTORIES)
|
||||
set_source_files_properties("${output}" PROPERTIES
|
||||
INCLUDE_DIRECTORIES "${JAKT_INCLUDE_DIR};${JAKT_INCLUDE_DIR}/runtime"
|
||||
COMPILE_FLAGS "-Wno-unused-local-typedefs")
|
||||
INCLUDE_DIRECTORIES "${JAKT_INCLUDE_DIR}/runtime"
|
||||
COMPILE_OPTIONS "-Wno-unused-local-typedefs;-Wno-unused-function")
|
||||
get_filename_component(output_name ${output} NAME)
|
||||
add_custom_target(generate_${output_name} DEPENDS ${output})
|
||||
add_dependencies(all_generated generate_${output_name})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue