Skip to content

Commit

Permalink
Generate pkg-config file in RabbitCommonUtils.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Dec 4, 2023
1 parent fe0a805 commit a89cb1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions Src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,6 @@ ADD_TARGET(NAME ${PROJECT_NAME}
VERSION ${Calendar_VERSION}
)

foreach(d ${Tasks_DEFINITIONS})
SET(Tasks_DEFINITIONS_PC "${Tasks_DEFINITIONS_PC} -D${d}")
endforeach()
# Install pc files
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/Tasks.pc.in
${CMAKE_BINARY_DIR}/Tasks.pc @ONLY)
install(FILES ${CMAKE_BINARY_DIR}/Tasks.pc
DESTINATION lib/pkgconfig)

# Install xml files
INSTALL_DIR(SOURCES ${CMAKE_SOURCE_DIR}/etc/
DESTINATION "etc/xml" COMPONENT Runtime)
Expand Down

0 comments on commit a89cb1a

Please sign in to comment.