Guest User

Sourcetrail

a guest
Oct 20th, 2025
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.03 KB | Source Code | 0 0
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index 45a4174c..3794e49e 100755
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -173,14 +173,14 @@ if (isVcpkgBuild)
  6.     set(Boost_NO_SYSTEM_PATHS ON)
  7.  endif()
  8.  
  9.  set(BOOST_MIN_VERSION 1.83)
  10. -set(BOOST_MAX_VERSION 1.89)
  11. +set(BOOST_MAX_VERSION 1.90)
  12.  
  13.  find_package(Boost CONFIG REQUIRED
  14.     COMPONENTS
  15.         # compiled libraries:
  16. -       system program_options filesystem date_time locale
  17. +       program_options filesystem date_time locale
  18.    
  19.         # 'header-only' libraries which can't be found with find_package:
  20.         # interprocess uuid asio process predef dll
  21.    
  22. @@ -216,9 +216,9 @@ target_link_libraries(External_lib_boost
  23.         Boost::filesystem
  24.         Boost::headers
  25.         Boost::locale
  26.         Boost::program_options
  27. -       Boost::system
  28. +       Boost::filesystem
  29.        
  30.         # Prevent linker error in vcpkg build:
  31.         External_lib_icu
  32.  )
  33. diff --git a/cmake/Sourcetrail.cmake b/cmake/Sourcetrail.cmake
  34. index 460b0657..fdf91136 100644
  35. --- a/cmake/Sourcetrail.cmake
  36. +++ b/cmake/Sourcetrail.cmake
  37. @@ -1,8 +1,8 @@
  38.  function(checkVersionRange libraryName version versionMin versionMax)
  39.     # Version range in find_package has quite often not the desired effect, so check version ranges manually:
  40.     if (NOT (${version} VERSION_GREATER_EQUAL ${versionMin} AND ${version} VERSION_LESS ${versionMax}))
  41. -       message(FATAL_ERROR "${libraryName} version ${version} is not supported! Must be in range >= ${versionMin} and < ${versionMax}")
  42. +       message(WARNING "${libraryName} version ${version} is not supported! Must be in range >= ${versionMin} and < ${versionMax}")
  43.     endif()
  44.  endfunction()
  45.  
  46.  function(setGccTargetOptions targetName)
  47. diff --git a/src/lib_gui/platform/setupApp.cpp b/src/lib_gui/platform/setupApp.cpp
  48. index 4dee0da1..70f7bebc 100644
  49. --- a/src/lib_gui/platform/setupApp.cpp
  50. +++ b/src/lib_gui/platform/setupApp.cpp
  51. @@ -20,9 +20,8 @@
  52.  
  53.  using namespace std;
  54.  using namespace utility;
  55.  using namespace boost::locale;
  56. -using namespace boost::system;
  57.  using namespace boost::filesystem;
  58.  
  59.  void setupDefaultLocale()
  60.  {
  61.  
Add Comment
Please, Sign In to add comment