mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-12 20:51:17 +00:00
find and link to phonon
svn path=/trunk/KDE/kdegraphics/okular/; revision=813354
This commit is contained in:
parent
70513fa61e
commit
9a9553bb83
|
@ -1,5 +1,7 @@
|
||||||
project(okular)
|
project(okular)
|
||||||
|
|
||||||
|
find_package(Phonon REQUIRED)
|
||||||
|
|
||||||
add_subdirectory( ui )
|
add_subdirectory( ui )
|
||||||
add_subdirectory( shell )
|
add_subdirectory( shell )
|
||||||
add_subdirectory( generators )
|
add_subdirectory( generators )
|
||||||
|
@ -14,6 +16,7 @@ endif(NOT WIN32)
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
${BLITZ_INCLUDES}
|
${BLITZ_INCLUDES}
|
||||||
|
${PHONON_INCLUDES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,7 +102,7 @@ IF(APPLE)
|
||||||
SET(OKULAR_IOKIT "-framework IOKit" CACHE STRING "Apple IOKit framework")
|
SET(OKULAR_IOKIT "-framework IOKit" CACHE STRING "Apple IOKit framework")
|
||||||
ENDIF(APPLE)
|
ENDIF(APPLE)
|
||||||
|
|
||||||
target_link_libraries(okularcore ${OKULAR_IOKIT} ${KDE4_KIO_LIBS} ${KDE4_PHONON_LIBRARY} ${KDE4_KJSAPI_LIBRARY} ${MATH_LIB} ${KDE4_THREADWEAVER_LIBRARY} )
|
target_link_libraries(okularcore ${OKULAR_IOKIT} ${PHONON_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KJSAPI_LIBRARY} ${MATH_LIB} ${KDE4_THREADWEAVER_LIBRARY})
|
||||||
|
|
||||||
set_target_properties(okularcore PROPERTIES VERSION 1.1.0 SOVERSION 1 )
|
set_target_properties(okularcore PROPERTIES VERSION 1.1.0 SOVERSION 1 )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue