Set the CMake target name from Okular::okularcore to Okular::Core

REVIEW: 124381
This commit is contained in:
Alex Richardson 2015-07-18 16:31:16 +01:00
parent f9b90348ec
commit 5ecffc246b

View file

@ -216,7 +216,7 @@ if(LibKScreen_FOUND)
#target_link_libraries(okularcore KF5::LibKScreen)
endif(LibKScreen_FOUND)
set_target_properties(okularcore PROPERTIES VERSION 6.0.0 SOVERSION 6 OUTPUT_NAME Okular5Core)
set_target_properties(okularcore PROPERTIES VERSION 6.0.0 SOVERSION 6 OUTPUT_NAME Okular5Core EXPORT_NAME Core)
install(TARGETS okularcore EXPORT Okular5Targets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})