~kubuntu-members/perlqt/4.11

« back to all changes in this revision

Viewing changes to phonon/src/CMakeLists.txt

  • Committer: Chris Burel
  • Date: 2012-02-05 13:12:59 UTC
  • Revision ID: git-v1:fe006f6a20c313da28d5f8ca02fca27434c13b78
Rename generated libraries to have 'Perl' prefix.

This is to avoid the namespace collision on Windows between the
QtCore4.dll perl extension, and the QtCore4.dll Qt library.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    phononhandlers.cpp
23
23
)
24
24
 
25
 
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/blib/arch/auto/Phonon)
 
25
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/blib/arch/auto/PerlPhonon)
26
26
add_library(perl_phonon SHARED ${phonon_LIBRARY_SRC})
27
27
 
28
28
target_link_libraries(perl_phonon
29
29
    ${SMOKE_PHONON_LIBRARY}
30
30
    perlqtcore4)
31
31
 
32
 
set_target_properties(perl_phonon PROPERTIES OUTPUT_NAME "Phonon")
 
32
set_target_properties(perl_phonon PROPERTIES OUTPUT_NAME "PerlPhonon")
33
33
set_target_properties(perl_phonon PROPERTIES PREFIX "")
34
34
 
35
 
install(TARGETS perl_phonon DESTINATION ${CUSTOM_PERL_SITE_ARCH_DIR}/auto/Phonon/)
 
 
b'\\ No newline at end of file'
 
35
install(TARGETS perl_phonon DESTINATION ${CUSTOM_PERL_SITE_ARCH_DIR}/auto/PerlPhonon/)