From 8cf91a7505c9f5c4ecc9c6a39f8d315461a14983 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Mon, 3 Aug 2020 13:29:58 -0700 Subject: [PATCH] Fix link errors --- CMakeLists.txt | 2 +- src/static_string.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca7c4f2..6d8c264 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ option(ENABLE_SHARED "Build shared library" ON) option(ENABLE_PROFILING "Enable asan" OFF) mark_as_advanced(ENABLE_PROFILING) -set(SOURCE_LIST "src/filerd.cpp" "src/string.cpp" "src/binary.cpp") +set(SOURCE_LIST "src/filerd.cpp" "src/string.cpp" "src/binary.cpp" "src/static_string.cpp") add_library(ensure OBJECT "src/ensure.cpp") target_compile_options(ensure PRIVATE -Wall -Wextra -pedantic -std=c++17) if(ENABLE_SHARED) diff --git a/src/static_string.cpp b/src/static_string.cpp index a8647b6..0644431 100644 --- a/src/static_string.cpp +++ b/src/static_string.cpp @@ -16,7 +16,7 @@ along with this program. If not, see . */ -#include "rexy/static_string.hpp" +#include "rexy/string_base.hpp" namespace rexy{