Work on build
This commit is contained in:
@@ -34,9 +34,14 @@ if(MSVC)
|
||||
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/msvc-stdint")
|
||||
endif()
|
||||
|
||||
# The app is in the "src" subdirectory
|
||||
# The lib is in the "src" subdirectory
|
||||
add_subdirectory(src)
|
||||
# Add any more subdirectories to recurse into here.
|
||||
|
||||
# Example apps
|
||||
add_subdirectory(example)
|
||||
add_subdirectory(example-sdl)
|
||||
|
||||
|
||||
|
||||
###
|
||||
# Other things you might like to do
|
||||
|
||||
@@ -33,7 +33,7 @@ endif()
|
||||
|
||||
add_library(wiiuse SHARED ${SOURCES} ${API})
|
||||
if(WIN32)
|
||||
target_link_libraries(Ws2_32.lib hid.lib
|
||||
target_link_libraries(Ws2_32.lib hid.lib setupapi.lib)
|
||||
else()
|
||||
target_link_libraries(wiiuse m bluetooth)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user