Skip to content

Commit

Permalink
Fix win32 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoehermann committed Nov 4, 2024
1 parent b901aab commit c340ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ target_include_directories(${TARGET_NAME} PRIVATE ${QRENCODE_INCLUDE_DIR})
target_link_libraries(${TARGET_NAME} PRIVATE ${QRENCODE_LIBRARIES})
if (MSVC)
add_dependencies(${TARGET_NAME} libpurple_lib)
target_link_libraries(${TARGET_NAME} PRIVATE ws2_32.lib Crypt32.lib Ncrypt.lib Secur32.lib Userenv.lib NtDll.lib)
target_link_libraries(${TARGET_NAME} PRIVATE ws2_32.lib Crypt32.lib Ncrypt.lib Secur32.lib Userenv.lib NtDll.lib RuntimeObject.lib)
else()
target_link_libraries(purple_presage_backend INTERFACE m ${TARGET_NAME})
# additional libraries obtained via cargo rustc -- --print native-static-libs :
Expand Down

0 comments on commit c340ed0

Please sign in to comment.