From 17013834c9027cb7387ab1afce3ab3a2df153c68 Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Wed, 20 Nov 2019 07:40:40 -0600 Subject: [PATCH] GSL includes required for trick_math #901 --- trick_source/trick_utils/math/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trick_source/trick_utils/math/CMakeLists.txt b/trick_source/trick_utils/math/CMakeLists.txt index 3480e3aa..ef40c4e4 100644 --- a/trick_source/trick_utils/math/CMakeLists.txt +++ b/trick_source/trick_utils/math/CMakeLists.txt @@ -90,3 +90,7 @@ set( TRICKMATH_SRC ) add_library( trick_math STATIC ${TRICKMATH_SRC}) + +if(GSL_FOUND) + target_include_directories( trick_math PUBLIC ${GSL_INCLUDE_DIRS} ) +endif()