Commit b92ee59d authored by Bartosz Podrygajlo's avatar Bartosz Podrygajlo

Fix instrumentation target for old CMake versions

Older make versions do not support source files to be added to INTERFACE
type target. The source file is not needed there so it was removed.
parent 1481d89d
......@@ -3,7 +3,7 @@ add_subdirectory(config/yaml)
configure_file(oai_version.h.in oai_version.h @ONLY)
add_library(instrumentation INTERFACE instrumentation.h)
add_library(instrumentation INTERFACE)
target_include_directories(instrumentation INTERFACE .)
if (TRACY_ENABLE)
target_link_libraries(instrumentation INTERFACE Tracy::TracyClient)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment