From 662e07337ff3f8d564cf76d26dccd84d0c27f172 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 26 Feb 2017 17:52:25 -0500 Subject: [PATCH] CMakeLists: Don't explicitly signify dynarmic as a static lib This allows a user of the library to explicitly control which kind of library type should be built with the CMake BUILD_SHARED_LIBS flag. By default, libraries will build as static without this specifier. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index afcf5839..9915151e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -104,7 +104,7 @@ endif() include(CreateDirectoryGroups) create_directory_groups(${SRCS} ${HEADERS}) -add_library(dynarmic STATIC ${SRCS} ${HEADERS}) +add_library(dynarmic ${SRCS} ${HEADERS}) set_target_properties(dynarmic PROPERTIES LINKER_LANGUAGE CXX) target_include_directories(dynarmic PUBLIC ../include