mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-05 16:57:53 +00:00
fix quickjs build
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
install (
|
||||
TARGETS
|
||||
ed25519-donna
|
||||
quickjs
|
||||
common
|
||||
opts
|
||||
ripple_syslibs
|
||||
|
||||
@@ -23,7 +23,11 @@ set(QUICKJS_COMPILE_DEFINITIONS
|
||||
|
||||
# Create static library
|
||||
add_library(quickjs STATIC ${QUICKJS_SOURCES})
|
||||
target_include_directories(quickjs PUBLIC ${QUICKJS_INCLUDE_DIRS})
|
||||
target_include_directories(quickjs
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${QUICKJS_INCLUDE_DIRS}>
|
||||
$<INSTALL_INTERFACE:include/quickjs> # Adjust the install path as needed
|
||||
)
|
||||
target_compile_definitions(quickjs PUBLIC ${QUICKJS_COMPILE_DEFINITIONS})
|
||||
|
||||
add_library(NIH::quickjs ALIAS quickjs)
|
||||
|
||||
Reference in New Issue
Block a user