Work on build

This commit is contained in:
Ryan Pavlik
2010-07-27 17:09:59 -05:00
parent fbb0599d80
commit ae74f81c45
2 changed files with 8 additions and 3 deletions

View File

@@ -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

View File

@@ -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()