Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Okular
Commits
3129b642
Commit
3129b642
authored
Dec 02, 2020
by
Albert Astals Cid
Browse files
cmake: Modern way to link to jpeg
parent
2aa9f18f
Changes
1
Hide whitespace changes
Inline
Side-by-side
generators/plucker/CMakeLists.txt
View file @
3129b642
...
...
@@ -4,7 +4,6 @@ add_definitions(-DTRANSLATION_DOMAIN="okular_plucker")
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/../..
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../generators/plucker/unpluck
${
JPEG_INCLUDE_DIR
}
${
ZLIB_INCLUDE_DIR
}
)
...
...
@@ -24,7 +23,7 @@ set(okularGenerator_plucker_SRCS
okular_add_generator
(
okularGenerator_plucker
${
okularGenerator_plucker_SRCS
}
${
qunpluck_SRCS
}
)
target_link_libraries
(
okularGenerator_plucker okularcore KF5::KIOCore KF5::I18n
${
MATH_LIB
}
${
JPEG_LIBRARY
}
${
ZLIB_LIBRARY
}
)
target_link_libraries
(
okularGenerator_plucker okularcore KF5::KIOCore KF5::I18n
${
MATH_LIB
}
JPEG::JPEG
${
ZLIB_LIBRARY
}
)
########### install files ###############
install
(
FILES okularPlucker.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment