Fix not making library include path public
This broke embedding the qjs library via CMake.
This commit is contained in:
parent
ff5e8dc3f5
commit
0bbb78ce5e
1 changed files with 4 additions and 1 deletions
|
@ -145,7 +145,10 @@ if (CMAKE_BUILD_TYPE MATCHES Debug)
|
|||
DUMP_LEAKS
|
||||
)
|
||||
endif()
|
||||
target_include_directories(qjs PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_include_directories(qjs PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
)
|
||||
|
||||
|
||||
# QuickJS bytecode compiler
|
||||
|
|
Loading…
Reference in a new issue