From 967b40440eb35345f5235b6572a0b8df3c16b484 Mon Sep 17 00:00:00 2001 From: NightIsDark <935528249@qq.ocm> Date: Thu, 14 Jan 2021 12:05:43 +0800 Subject: [PATCH] temp --- CMakeLists.txt | 1 + calc_gate.h | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 180c387..65cf203 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ endforeach() aux_source_directory(. DIR_SRCS) add_library(Stage-Discharge-Relation ${CMAKE_LIB_TYPE} ${DIR_SRCS}) +target_link_libraries(Stage-Discharge-Relation "log") add_subdirectory("test-hdsmf") diff --git a/calc_gate.h b/calc_gate.h index 1b91a08..7414f19 100644 --- a/calc_gate.h +++ b/calc_gate.h @@ -1,6 +1,8 @@ #ifndef _CALC_GATE_H #define _CALC_GATE_H +#include "wisfarm-config.h" + #define g 9.81 struct param_gate{ -- libgit2 0.21.4