Fix instrumentation target for older CMake versions
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