From e037789869ce7ec3084dfc3ac032d28c1980acff Mon Sep 17 00:00:00 2001 From: Bryan Tan Date: Sun, 10 Dec 2023 17:57:24 -0800 Subject: [PATCH] Fix install interface to point to correct include dir The contents of the include directory are actually installed to $PREFIX/include/sparta. So it is actually $PREFIX/include/sparta that needs to be provided as an include directory, not just $PREFIX/include. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 541d3a7..703af91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ add_library(sparta INTERFACE) target_include_directories(sparta INTERFACE $ - $ + $ ) target_link_libraries(sparta INTERFACE ${Boost_LIBRARIES})