[CMAKE]: fix ostra-cg install mode

ostra-cg is a script and should be installed as
PROGRAM, otherwise it doesn't receive the exec bits.

Signed-off-by: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
Ademar de Souza Reis Jr 2007-08-14 11:33:54 -03:00 committed by Arnaldo Carvalho de Melo
parent ef45383d22
commit 7657ad696d
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ install(TARGETS codiff ctracer dtagnames pahole pdwtags
install(TARGETS dwarves LIBRARY DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS dwarves dwarves_emit dwarves_reorganize LIBRARY DESTINATION ${LIB_INSTALL_DIR})
install(FILES dwarves.h dwarves_emit.h dwarves_reorganize.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include)
install(FILES ostra/ostra-cg DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
install(PROGRAMS ostra/ostra-cg DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
install(FILES ostra/python/ostra.py DESTINATION /usr/share/dwarves/runtime/python)
install(FILES lib/Makefile lib/ctracer_jprobe.c
lib/ctracer_relay.c lib/ctracer_relay.h