diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 23:04:45 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 23:04:45 +0200 |
commit | ab87b358c03a80edfcbefcfd2af762ea14275e5a (patch) | |
tree | 7e21a1849f522adf1416fe197912f76f95cfce25 /tracker-wii/CMakeLists.txt | |
parent | 2d04f64d1b2eb8296a21a848c3bcc3f5fbaf9527 (diff) |
tracker/wii: fix mingw build
Diffstat (limited to 'tracker-wii/CMakeLists.txt')
-rw-r--r-- | tracker-wii/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tracker-wii/CMakeLists.txt b/tracker-wii/CMakeLists.txt index ad7466fd..00cc2f9f 100644 --- a/tracker-wii/CMakeLists.txt +++ b/tracker-wii/CMakeLists.txt @@ -4,7 +4,10 @@ if(WIN32) if(OpenCV_FOUND) add_subdirectory(wiiyourself) otr_module(tracker-wii) - target_link_libraries(opentrack-tracker-wii opentrack-tracker-pt-base opentrack-wiiyourself bthprops) - target_include_directories(opentrack-tracker-wii PRIVATE "${CMAKE_SOURCE_DIR}/tracker-pt") + target_link_libraries(${self} opentrack-tracker-pt-base opentrack-wiiyourself bthprops) + if(MINGW32) + target_link_libraries(${self} hid) + endif() + target_include_directories(${self} PRIVATE "${CMAKE_SOURCE_DIR}/tracker-pt") endif() endif() |