Skip to content

Commit e4c5a3a

Browse files
mwerezakc72578
authored andcommitted
Fix missing links to dependencies of libtempered
1 parent 93eef44 commit e4c5a3a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

libtempered/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ endif()
88

99
if (BUILD_SHARED_LIB)
1010
add_library(tempered-shared SHARED ${libtempered_FILES})
11+
target_link_libraries(tempered-shared ${HIDAPI_LINK_LIBS})
1112
set_target_properties(tempered-shared PROPERTIES
1213
OUTPUT_NAME tempered
1314
SOVERSION 0
@@ -22,6 +23,7 @@ endif()
2223

2324
if (BUILD_STATIC_LIB)
2425
add_library(tempered-static STATIC ${libtempered_FILES})
26+
target_link_libraries(tempered-static ${HIDAPI_LINK_LIBS})
2527
set_target_properties(tempered-static PROPERTIES
2628
OUTPUT_NAME tempered
2729
)

0 commit comments

Comments
 (0)