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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user