Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libxslt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
libraries
libxslt
Commits
eb1269f9616b
Commit
eb1269f9616b
authored
4 years ago
by
Markus Rickert
Browse files
Options
Downloads
Patches
Plain Diff
Update dependencies based on pkg-config definition
parent
a1da66c88c38
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+0
-16
0 additions, 16 deletions
CMakeLists.txt
libxslt-config.cmake.cmake.in
+3
-10
3 additions, 10 deletions
libxslt-config.cmake.cmake.in
libxslt-config.cmake.in
+4
-15
4 additions, 15 deletions
libxslt-config.cmake.in
with
7 additions
and
41 deletions
CMakeLists.txt
+
0
−
16
View file @
eb1269f9
...
...
@@ -216,13 +216,9 @@
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/
${
CMAKE_INSTALL_INCLUDEDIR
}
>
)
if
(
LIBXSLT_WITH_CRYPTO
)
target_link_libraries
(
LibXslt PRIVATE Gcrypt::Gcrypt
)
endif
()
target_link_libraries
(
LibXslt PUBLIC LibXml2::LibXml2
)
if
(
UNIX
)
target_link_libraries
(
LibXslt PRIVATE m
)
endif
()
...
...
@@ -223,13 +219,9 @@
target_link_libraries
(
LibXslt PUBLIC LibXml2::LibXml2
)
if
(
UNIX
)
target_link_libraries
(
LibXslt PRIVATE m
)
endif
()
if
(
LIBXSLT_WITH_THREADS
)
target_link_libraries
(
LibXslt PRIVATE Threads::Threads
)
endif
()
set_target_properties
(
LibXslt
PROPERTIES
...
...
@@ -311,14 +303,6 @@
target_link_libraries
(
LibExslt PUBLIC LibXslt LibXml2::LibXml2
)
if
(
UNIX
)
target_link_libraries
(
LibExslt PRIVATE m
)
endif
()
if
(
LIBXSLT_WITH_THREADS
)
target_link_libraries
(
LibExslt PRIVATE Threads::Threads
)
endif
()
set_target_properties
(
LibExslt
PROPERTIES
...
...
This diff is collapsed.
Click to expand it.
libxslt-config.cmake.cmake.in
+
3
−
10
View file @
eb1269f9
...
...
@@ -78,7 +78,5 @@
find_dependency(LibXml2 CONFIG)
list(APPEND LIBXSLT_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIRS})
list(APPEND LIBXSLT_LIBRARIES ${LIBXML2_LIBRARIES})
list(APPEND LIBXSLT_EXSLT_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIRS})
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${LIBXML2_LIBRARIES})
if(NOT @BUILD_SHARED_LIBS@)
...
...
@@ -83,11 +81,5 @@
if(NOT @BUILD_SHARED_LIBS@)
if(@LIBXSLT_WITH_THREADS@)
find_dependency(Threads)
list(APPEND LIBXSLT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
endif()
if(@LIBXSLT_WITH_CRYPTO@)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
find_dependency(Gcrypt)
...
...
@@ -91,9 +83,8 @@
if(@LIBXSLT_WITH_CRYPTO@)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
find_dependency(Gcrypt)
list(APPEND LIBXSLT_LIBRARIES ${GCRYPT_LIBRARIES})
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${GCRYPT_LIBRARIES})
endif()
if(UNIX)
list(APPEND LIBXSLT_LIBRARIES m)
...
...
@@ -95,8 +86,7 @@
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${GCRYPT_LIBRARIES})
endif()
if(UNIX)
list(APPEND LIBXSLT_LIBRARIES m)
list(APPEND LIBXSLT_EXSLT_LIBRARIES m)
endif()
endif()
...
...
@@ -101,2 +91,5 @@
endif()
endif()
list(APPEND LIBXSLT_EXSLT_INCLUDE_DIRS ${LIBXSLT_INCLUDE_DIRS})
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${LIBXSLT_LIBRARIES})
This diff is collapsed.
Click to expand it.
libxslt-config.cmake.in
+
4
−
15
View file @
eb1269f9
...
...
@@ -69,18 +69,7 @@
list(APPEND LIBXSLT_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIRS})
list(APPEND LIBXSLT_LIBRARIES ${LIBXML2_LIBRARIES})
list(APPEND LIBXSLT_INTERFACE_LINK_LIBRARIES "LibXml2::LibXml2")
list(APPEND LIBXSLT_EXSLT_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIRS})
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${LIBXML2_LIBRARIES})
list(APPEND LIBXSLT_EXSLT_INTERFACE_LINK_LIBRARIES "LibXml2::LibXml2")
if(@WITH_THREADS@)
find_dependency(Threads)
list(APPEND LIBXSLT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
list(APPEND LIBXSLT_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:Threads::Threads>")
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
list(APPEND LIBXSLT_EXSLT_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:Threads::Threads>")
endif()
if(@WITH_CRYPTO@)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
find_dependency(Gcrypt)
...
...
@@ -83,9 +72,7 @@
if(@WITH_CRYPTO@)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
find_dependency(Gcrypt)
list(APPEND LIBXSLT_LIBRARIES ${GCRYPT_LIBRARIES})
list(APPEND LIBXSLT_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:Gcrypt::Gcrypt>")
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${GCRYPT_LIBRARIES})
list(APPEND LIBXSLT_EXSLT_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:Gcrypt::Gcrypt>")
endif()
...
...
@@ -93,7 +80,5 @@
if(UNIX)
list(APPEND LIBXSLT_LIBRARIES m)
list(APPEND LIBXSLT_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>")
list(APPEND LIBXSLT_EXSLT_LIBRARIES m)
list(APPEND LIBXSLT_EXSLT_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>")
endif()
...
...
@@ -98,5 +83,9 @@
endif()
list(APPEND LIBXSLT_EXSLT_INCLUDE_DIRS ${LIBXSLT_INCLUDE_DIRS})
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${LIBXSLT_LIBRARIES})
list(APPEND LIBXSLT_EXSLT_INTERFACE_LINK_LIBRARIES "LibXslt::LibXslt")
mark_as_advanced(LIBXSLT_LIBRARY LIBXSLT_EXSLT_LIBRARY LIBXSLT_XSLTPROC_EXECUTABLE)
if(NOT TARGET LibXslt::LibXslt AND DEFINED LIBXSLT_LIBRARY AND DEFINED LIBXSLT_INCLUDE_DIRS)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment