Add static lib support to cmake
This commit is contained in:
@@ -34,7 +34,7 @@ if(MSVC)
|
||||
list(APPEND API wiiuse_msvcstdint.h)
|
||||
endif()
|
||||
|
||||
add_library(wiiuse SHARED ${SOURCES} ${API})
|
||||
add_library(wiiuse ${WIIUSE_LIB_TYPE} ${SOURCES} ${API})
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(wiiuse ws2_32 setupapi ${WINHID_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user