aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-04-02 20:51:19 +0800
committercrupest <crupest@outlook.com>2020-04-02 20:51:19 +0800
commite38ea3de29ede0e45aab8e595da5e8e3782a396d (patch)
tree1e0fae414abea5b5cf1fd4fb4194f8c6a9795d7e /src/common
parent7dd9494e957af8280f7221395333f886c500edf5 (diff)
downloadcru-e38ea3de29ede0e45aab8e595da5e8e3782a396d.tar.gz
cru-e38ea3de29ede0e45aab8e595da5e8e3782a396d.tar.bz2
cru-e38ea3de29ede0e45aab8e595da5e8e3782a396d.zip
...
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index f84a954a..6e621bf1 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -12,5 +12,7 @@ target_sources(cru_base PUBLIC
${CRU_BASE_INCLUDE_DIR}/self_resolvable.hpp
)
target_include_directories(cru_base PUBLIC ${CRU_INCLUDE_DIR})
-
target_compile_definitions(cru_base PUBLIC $<$<CONFIG:Debug>:CRU_DEBUG>)
+
+find_path(GSL_INCLUDE_DIR NAMES gsl PATH_SUFFIXES ms-gsl)
+target_include_directories(cru_base PUBLIC ${GSL_INCLUDE_DIR})