fix gir issue under cmake
This commit is contained in:
parent
2e516f79eb
commit
5c10b15c2b
@ -105,13 +105,6 @@ VERSION
|
|||||||
SOVERSION
|
SOVERSION
|
||||||
6 )
|
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
|
install(TARGETS
|
||||||
pamacclassic
|
pamacclassic
|
||||||
LIBRARY DESTINATION
|
LIBRARY DESTINATION
|
||||||
@ -132,16 +125,6 @@ install(FILES
|
|||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/vala/vapi/
|
${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
|
install(FILES
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.pc
|
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.pc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
|
Loading…
Reference in New Issue
Block a user