You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
angie/SOURCES/dd-opentracing-cpp-cmakelis...

25 lines
603 B

--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -27,10 +27,6 @@
endif()
set(CMAKE_CXX_STANDARD 14)
-# Includes
-include_directories(SYSTEM 3rd_party/include deps/include)
-include_directories(include)
-
# Libraries
set(CMAKE_LIBRARY_PATH deps/lib)
@@ -40,6 +36,10 @@
find_library(MSGPACK_LIB msgpack)
find_package(CURL)
find_package(Threads REQUIRED)
+
+# Includes
+include_directories(SYSTEM ${OPENTRACING_INCLUDE_DIR} 3rd_party/include deps/include)
+include_directories(include)
# Code Sanitizers
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/3rd_party/sanitizers-cmake" ${CMAKE_MODULE_PATH})