add mingw-w64 support

This commit is contained in:
2021-11-30 19:50:40 +01:00
parent dc37ad54ec
commit ec98df52d7
8 changed files with 28 additions and 9 deletions

View File

@ -19,10 +19,11 @@ endif()
target_include_directories(tracy_client PUBLIC "${CMAKE_CURRENT_LIST_DIR}")
#target_link_libraries(tracy_client
#)
if(UNIX)
target_link_libraries(tracy_client dl)
endif()
if(WIN32)
target_link_libraries(tracy_client ws2_32 dbghelp)
endif()