Skip to content

Commit

Permalink
Merge pull request #2186 from chehrlic/cmake_debug_postfix
Browse files Browse the repository at this point in the history
Use DEBUG_POSTFIX cmake property to distinguish between debug and release dll
  • Loading branch information
julianoes authored Nov 25, 2023
2 parents f27c3d6 + 3467929 commit 9a6416b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mavsdk/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ set_target_properties(mavsdk PROPERTIES
VERSION ${MAVSDK_VERSION_STRING}
SOVERSION ${MAVSDK_SOVERSION_STRING}
)
if (MSVC)
set_target_properties(mavsdk PROPERTIES
DEBUG_POSTFIX "d"
)
endif()

if (IOS)
target_link_libraries(mavsdk
Expand Down

0 comments on commit 9a6416b

Please sign in to comment.