Browse Source

fix gir issue under cmake

pull/2/head v6.7.3
Chris Cromer 2 years ago
parent
commit
5c10b15c2b
Signed by: cromer GPG Key ID: 39CC813FF3C8708A
  1. 17
      src/CMakeLists.txt

17
src/CMakeLists.txt

@ -105,13 +105,6 @@ VERSION
SOVERSION
6 )
add_custom_command (
TARGET pamacclassic
POST_BUILD
COMMAND g-ir-compiler --shared-library=libpamacclassic "${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-1.0.gir" --output="${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-1.0.typelib"
)
install(TARGETS
pamacclassic
LIBRARY DESTINATION
@ -132,16 +125,6 @@ install(FILES
DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/vala/vapi/
)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-1.0.gir
DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/gir-1.0/
)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-1.0.typelib
DESTINATION
lib/girepository-1.0/
)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.pc
DESTINATION

Loading…
Cancel
Save