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{