From 0437240be586ed462ebf0049eb707041f636883e Mon Sep 17 00:00:00 2001 From: Marcel Marock Date: Sat, 1 Nov 2025 21:33:03 +0100 Subject: [PATCH 1/2] src/CMakeLists.txt Add the path to the binary include dir (which is installed later) Signed-off-by: Marcel Marock --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 09f00cf232..2c47f26401 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -124,6 +124,7 @@ endif() target_include_directories(oqs PUBLIC "$" + "$" "$" ) From 03cc1f1c5d2966d3addcc22652871f65d77cb2ff Mon Sep 17 00:00:00 2001 From: Marcel Marock Date: Sun, 2 Nov 2025 17:27:42 +0100 Subject: [PATCH 2/2] src/CMakeLists.txt Add include dir only for using the target, not building Signed-off-by: Marcel Marock --- src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2c47f26401..c112a697fb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -124,7 +124,6 @@ endif() target_include_directories(oqs PUBLIC "$" - "$" "$" ) @@ -147,6 +146,10 @@ set_target_properties(oqs # For Windows DLLs RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin") +set_property(TARGET oqs + APPEND PROPERTY + INTERFACE_INCLUDE_DIRECTORIES "$") + set_target_properties(oqs-internal PROPERTIES C_VISIBILITY_PRESET default