From ebe88443447012a40c8b95742650c78a696ef5ec Mon Sep 17 00:00:00 2001 From: Hannes Steffenhagen Date: Sat, 8 Feb 2020 12:49:43 +0000 Subject: [PATCH] Make GSL includes based on CMAKE_INSTALL_INCLUDEDIR This is to avoid inconsistencies with the `install` command which specifies this as the destination for includes. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff226ef..96ab24b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,12 +58,12 @@ target_compile_definitions(GSL INTERFACE if(GSL_STANDALONE_PROJECT) target_include_directories(GSL INTERFACE $ - $ + $ ) else() target_include_directories(GSL SYSTEM INTERFACE $ - $ + $ ) endif()