mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-05 02:12:58 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user