فهرست منبع

CMakeLists: Correct boost asio disabling define name

Previously the name of the define was missing the BOOST_ prefix.
Lioncash 6 سال پیش
والد
کامیت
b971b82275
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -124,7 +124,7 @@ if (MSVC)
     # cubeb and boost still make use of deprecated result_of.
     add_definitions(-D_HAS_DEPRECATED_RESULT_OF)
     # boost asio's concept usage doesn't play nicely with MSVC yet.
-    add_definitions(-DASIO_DISABLE_CONCEPTS)
+    add_definitions(-DBOOST_ASIO_DISABLE_CONCEPTS)
 else()
     set(CMAKE_CXX_STANDARD 17)
     set(CMAKE_CXX_STANDARD_REQUIRED ON)