Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
irods-microservices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
RDM Infrastructure
irods-microservices
Commits
06e7e4d3
Commit
06e7e4d3
authored
7 years ago
by
Felix A. Croes
Browse files
Options
Downloads
Patches
Plain Diff
Add libuuid to cmake configuration.
parent
a332c517
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-1
4 additions, 1 deletion
CMakeLists.txt
CMakeModules/Finduuid.cmake
+35
-0
35 additions, 0 deletions
CMakeModules/Finduuid.cmake
with
39 additions
and
1 deletion
CMakeLists.txt
+
4
−
1
View file @
06e7e4d3
...
@@ -53,6 +53,9 @@ include_directories(SYSTEM ${LIBXSLT_INCLUDE_DIR})
...
@@ -53,6 +53,9 @@ include_directories(SYSTEM ${LIBXSLT_INCLUDE_DIR})
find_package
(
Jansson REQUIRED
)
find_package
(
Jansson REQUIRED
)
include_directories
(
SYSTEM
${
JANSSON_INCLUDE_DIRS
}
)
include_directories
(
SYSTEM
${
JANSSON_INCLUDE_DIRS
}
)
find_package
(
uuid REQUIRED
)
include_directories
(
SYSTEM
${
UUID_INCLUDE_DIR
}
)
include_directories
(
SYSTEM
"/usr/include/irods"
)
include_directories
(
SYSTEM
"/usr/include/irods"
)
add_library
(
msiSetUpperCaseWhereQuery SHARED src/msiSetUpperCaseWhereQuery.cc
)
add_library
(
msiSetUpperCaseWhereQuery SHARED src/msiSetUpperCaseWhereQuery.cc
)
...
@@ -73,7 +76,7 @@ add_library(msi_json_objops SHARED src/msi_json_objops.cc)
...
@@ -73,7 +76,7 @@ add_library(msi_json_objops SHARED src/msi_json_objops.cc)
target_link_libraries
(
msiCurlMail LINK_PUBLIC
${
CURL_LIBRARIES
}
)
target_link_libraries
(
msiCurlMail LINK_PUBLIC
${
CURL_LIBRARIES
}
)
target_link_libraries
(
msiStrToUpper LINK_PUBLIC
${
Boost_LIBRARIES
}
)
target_link_libraries
(
msiStrToUpper LINK_PUBLIC
${
Boost_LIBRARIES
}
)
target_link_libraries
(
msiRegisterDataCiteDOI LINK_PUBLIC
${
CURL_LIBRARIES
}
${
JANSSON_LIBRARIES
}
)
target_link_libraries
(
msiRegisterDataCiteDOI LINK_PUBLIC
${
CURL_LIBRARIES
}
${
JANSSON_LIBRARIES
}
)
target_link_libraries
(
msiGenerateEpicPID LINK_PUBLIC
${
JANSSON_LIBRARIES
}
)
target_link_libraries
(
msiGenerateEpicPID LINK_PUBLIC
${
JANSSON_LIBRARIES
}
${
UUID_LIBRARIES
}
)
target_link_libraries
(
msiGetDataCiteDOI LINK_PUBLIC
${
CURL_LIBRARIES
}
${
JANSSON_LIBRARIES
}
)
target_link_libraries
(
msiGetDataCiteDOI LINK_PUBLIC
${
CURL_LIBRARIES
}
${
JANSSON_LIBRARIES
}
)
target_link_libraries
(
msiRemoveDataCiteMetadata LINK_PUBLIC
${
CURL_LIBRARIES
}
${
JANSSON_LIBRARIES
}
)
target_link_libraries
(
msiRemoveDataCiteMetadata LINK_PUBLIC
${
CURL_LIBRARIES
}
${
JANSSON_LIBRARIES
}
)
target_link_libraries
(
msiLoadMetadataFromXml LINK_PUBLIC
${
LIBXML2_LIBRARIES
}
)
target_link_libraries
(
msiLoadMetadataFromXml LINK_PUBLIC
${
LIBXML2_LIBRARIES
}
)
...
...
This diff is collapsed.
Click to expand it.
CMakeModules/Finduuid.cmake
0 → 100644
+
35
−
0
View file @
06e7e4d3
#
# find libuuid
#
find_path
(
UUID_INCLUDE_DIR
NAMES
uuid/uuid.h
PATHS
$ENV{UUID_HOME}/include
/usr/include
/usr/local/include
)
find_library
(
UUID_LIBRARIES
NAMES
uuid
PATHS
$ENV{UUID_HOME}/lib
/usr/lib
/usr/lib64
/usr/local/lib
/usr/local/lib64
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
uuid
DEFAULT_MSG
UUID_LIBRARIES
UUID_INCLUDE_DIR
)
mark_as_advanced
(
UUID_INCLUDE_DIR
UUID_LIBRARIES
)
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