# HG changeset patch # User Sebastien Jodogne # Date 1626700580 -7200 # Node ID be8b0ac774e2d855820d587edccde12331125f9c # Parent 1c2cd90418c922443a25216b313c63bb6c14b44d removed suspicious changeset 294 (adb5e86645a6) diff -r 1c2cd90418c9 -r be8b0ac774e2 MySQL/CMakeLists.txt --- a/MySQL/CMakeLists.txt Mon Jul 19 14:59:36 2021 +0200 +++ b/MySQL/CMakeLists.txt Mon Jul 19 15:16:20 2021 +0200 @@ -137,15 +137,3 @@ set_target_properties(UnitTests PROPERTIES COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0 ) - -if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") - # Explicitly adding "-lstdc++ -lm" during linking for LSB had to be - # introduced on the BuildBot server for LSB Release builds between - # "OrthancMySQL-4.0" and "OrthancMySQL-4.1", for unclear - # reasons. Without this option, many symbols are left undefined - # while linking "UnitTests" in release mode. Similar to: - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14001 - # - # NB: This will be automatically added in Orthanc Framework > 1.9.5 - target_link_libraries(UnitTests stdc++ m) -endif()