From e220a32713dfcc6bb7dbe7d371e0f0c30ff8fd6d Mon Sep 17 00:00:00 2001 From: Dinesh Bolkensteyn Date: Tue, 12 Jul 2016 09:25:24 +0200 Subject: [PATCH] CMake: Serial should be a StaticLib --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a72acb8..4256769 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ else() endif() ## Add serial library -add_library(${PROJECT_NAME} ${serial_SRCS}) +add_library(${PROJECT_NAME} STATIC ${serial_SRCS}) if(APPLE) target_link_libraries(${PROJECT_NAME} ${FOUNDATION_LIBRARY} ${IOKIT_LIBRARY}) elseif(UNIX)