remove the 'src/' prefix from file:line log output

This commit is contained in:
oxmox 2023-02-14 21:41:33 +01:00
parent 17f4b34ea3
commit c41066ebeb

View file

@ -6,7 +6,7 @@ target_compile_features(logc PRIVATE c_std_11)
if (NOT WIN32)
target_compile_definitions(logc PRIVATE -DLOG_USE_COLOR)
endif()
target_compile_options(logc INTERFACE -fmacro-prefix-map=${CMAKE_SOURCE_DIR}=. PRIVATE ${DP_WARN_FLAGS})
target_compile_options(logc INTERFACE -fmacro-prefix-map=${CMAKE_CURRENT_SOURCE_DIR}=. PRIVATE ${DP_WARN_FLAGS})
find_package(Threads)