Skip to content

Commit

Permalink
Fix default config paths in apitracing build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian Eikenberg authored and rageagainsthepc committed May 22, 2023
1 parent 1835125 commit c9162ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/apitracing/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ target_link_libraries(apitracing apitracing-obj)

include(GNUInstallDirs)

target_compile_definitions(apitracing-obj PRIVATE CONFIG_DIR="${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/vmicore/plugins/${CMAKE_PROJECT_NAME}/")
target_compile_definitions(apitracing-obj PRIVATE CONFIG_DIR="${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/vmicore/plugins/${PROJECT_NAME}/")

install(TARGETS apitracing
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(DIRECTORY ../configuration/
DESTINATION ${CMAKE_INSTALL_LOCALSTATEDIR}/vmicore/plugins/${CMAKE_PROJECT_NAME}/)
DESTINATION ${CMAKE_INSTALL_LOCALSTATEDIR}/vmicore/plugins/${PROJECT_NAME}/)

0 comments on commit c9162ba

Please sign in to comment.