Skip to content

Commit

Permalink
Fix include(GNUInstallDirs)
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Sep 23, 2024
1 parent ca5a674 commit 145ef61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions App/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Author: Kang Lin([email protected])
# Author: Kang Lin <[email protected]>

project(RabbitCommonApp)

include(GNUInstallDirs)

set(SOURCE_FILES
main.cpp
MainWindow.cpp
Expand All @@ -27,7 +29,6 @@ if(NOT EXISTS ${CMAKE_BINARY_DIR}/etc/${PROJECT_NAME}.conf)
configure_file(${CMAKE_SOURCE_DIR}/Src/etc/log4qt.conf
${CMAKE_BINARY_DIR}/etc/${PROJECT_NAME}.conf
COPYONLY)

endif()
INSTALL_FILE(SOURCES ${CMAKE_BINARY_DIR}/etc/${PROJECT_NAME}.conf
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}
Expand Down

0 comments on commit 145ef61

Please sign in to comment.