~kubuntu-members/perlqt/4.11

« back to all changes in this revision

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