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:
parent
469bb6253f
commit
662e07337f
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ endif()
|
||||||
include(CreateDirectoryGroups)
|
include(CreateDirectoryGroups)
|
||||||
create_directory_groups(${SRCS} ${HEADERS})
|
create_directory_groups(${SRCS} ${HEADERS})
|
||||||
|
|
||||||
add_library(dynarmic STATIC ${SRCS} ${HEADERS})
|
add_library(dynarmic ${SRCS} ${HEADERS})
|
||||||
set_target_properties(dynarmic PROPERTIES LINKER_LANGUAGE CXX)
|
set_target_properties(dynarmic PROPERTIES LINKER_LANGUAGE CXX)
|
||||||
target_include_directories(dynarmic
|
target_include_directories(dynarmic
|
||||||
PUBLIC ../include
|
PUBLIC ../include
|
||||||
|
|
Loading…
Reference in a new issue