From 0bbb78ce5e4cf64cfc1881dc40b541875c95ca97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 24 Nov 2023 22:36:58 +0100 Subject: [PATCH] Fix not making library include path public This broke embedding the qjs library via CMake. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b5c9f99..1f1adcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 + $ + $ +) # QuickJS bytecode compiler