Skip to content

Commit

Permalink
fix: SYSCONFDIR and LOCALSTATEDIR path from CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelemusiani authored and danielinux committed Dec 25, 2024
1 parent 053e068 commit 306a519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project(vde2
include(GNUInstallDirs)
include(./Macros.cmake)

add_definitions(-DSYSCONFDIR=\"${CMAKE_INSTALL_SYSCONFDIR}\" -DLOCALSTATEDIR=\"${CMAKE_INSTALL_LOCALSTATEDIR}\")
add_definitions(-DSYSCONFDIR=\"/${CMAKE_INSTALL_SYSCONFDIR}\" -DLOCALSTATEDIR=\"/${CMAKE_INSTALL_LOCALSTATEDIR}\")

cm_define_project(
${PROJECT_VERSION}
Expand Down

0 comments on commit 306a519

Please sign in to comment.