diff options
author | 2009-01-26 20:00:41 +0000 | |
---|---|---|
committer | 2009-01-26 20:00:41 +0000 | |
commit | d7f60257dda5f6e2cb3bdd5409d61c3c04666003 (patch) | |
tree | 1adf0663c8d703a37e472e753d771cfb2f658cc6 | |
parent | 874ff5a0b42f00fa4f3bc0cf06922cce22949f56 (diff) |
small fix related to GSL cmake stuff
-rw-r--r-- | test/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 01ae688e5..8f44d3aff 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,7 +1,8 @@ find_package(GSL) if(GSL_FOUND) - add_definitions("-DHAS_GSL") + add_definitions("-DHAS_GSL" ${GSL_DEFINITIONS}) + include_directories(${GSL_INCLUDE_DIR}) else(GSL_FOUND) set(GSL_LIBRARIES " ") endif(GSL_FOUND) |