Adds gsl header path to SWIG
@@ -14,6 +14,9 @@ add_library(ccl_static STATIC $<TARGET_OBJECTS:objlib>)
target_link_libraries(ccl_static ${GSL_LIBRARIES} ${CLASS_LIBRARIES} ${ANGPOW_LIBRARIES} ${FFTW_LIBRARIES} m)
add_dependencies(ccl_static ccl)
+# Adds include path to GSL headers
+set_property(SOURCE ccl.i PROPERTY INCLUDE_DIRECTORIES ${GSL_INCLUDE_DIRS})
+
# Builds swig python module in place
if(${CMAKE_VERSION} VERSION_LESS "3.8.0")
swig_add_module(ccllib python ccl.i)
