~kubuntu-members/perlqt/4.11

« back to all changes in this revision

Viewing changes to qthelp/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
    qthelp4handlers.cpp
23
23
)
24
24
 
25
 
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/blib/arch/auto/QtHelp4)
 
25
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/blib/arch/auto/PerlQtHelp4)
26
26
add_library(perl_qthelp4 SHARED ${qthelp4_LIBRARY_SRC})
27
27
 
28
28
target_link_libraries(perl_qthelp4
29
29
    ${SMOKE_QTHELP_LIBRARY}
30
30
    perlqtcore4)
31
31
 
32
 
set_target_properties(perl_qthelp4 PROPERTIES OUTPUT_NAME "QtHelp4")
 
32
set_target_properties(perl_qthelp4 PROPERTIES OUTPUT_NAME "PerlQtHelp4")
33
33
set_target_properties(perl_qthelp4 PROPERTIES PREFIX "")
34
34
 
35
 
install(TARGETS perl_qthelp4 DESTINATION ${CUSTOM_PERL_SITE_ARCH_DIR}/auto/QtHelp4/)
 
 
b'\\ No newline at end of file'
 
35
install(TARGETS perl_qthelp4 DESTINATION ${CUSTOM_PERL_SITE_ARCH_DIR}/auto/PerlQtHelp4/)