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