From adfd0744cdb08754117d70fda57eb38db6ab8f64 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 18 Sep 2018 21:00:59 -0700 Subject: [PATCH] Roll back unnecessary static linking. --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42ed951..cc0ff13 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,10 +4,7 @@ project(abcs) set(CMAKE_CXX_STANDARD 11) add_subdirectory(external/libabacus) -add_library(libabcs STATIC src/ref.cpp src/abacus.cpp src/types.cpp src/util.cpp src/operator_functions.cpp src/trig_functions.cpp src/other_functions.cpp) -add_executable(abcs src/main.cpp src/string_functions.cpp) +add_executable(abcs src/main.cpp src/string_functions.cpp src/ref.cpp src/abacus.cpp src/types.cpp src/util.cpp src/operator_functions.cpp src/trig_functions.cpp src/other_functions.cpp) -target_link_libraries(libabcs abacus mpfr readline) -target_link_libraries(abcs libabcs) +target_link_libraries(abcs abacus mpfr readline) target_include_directories(abcs PUBLIC include) -target_include_directories(libabcs PUBLIC include)