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.
This commit is contained in:
Lioncash 2017-02-26 17:52:25 -05:00 committed by Merry
parent 469bb6253f
commit 662e07337f

View file

@ -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