Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MSK-SW
Low-Level Radio Frequency
Master Oscillator
XFEL
GPSDO
Commits
ed86bf37
Commit
ed86bf37
authored
Oct 22, 2020
by
Automated MSK Jenkins User
Browse files
Merge remote-tracking branch 'project-template/master'
parents
5e5868d6
083b447a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/Modules/FindDOOCS.cmake
View file @
ed86bf37
...
...
@@ -76,19 +76,6 @@ endif()
set
(
ENV{PKG_CONFIG_PATH} $ENV{PKG_CONFIG_PATH}:/export/doocs/lib/pkgconfig
)
message
(
"Using PKG_CONFIG_PATH=$ENV{PKG_CONFIG_PATH}"
)
# Work-around #1: Link explicitly against tinemt because libDOOCSapi links against it
# but we usually don't have $DOOCS_DIR in ld.so search path and the meson build process
# does not set a rpath (rt #979328)
#
# Work-around #2: dev-libtine is missing the pkg-config file so use find-library if
# pkg-config fails, otherwise append it to DOOCS_FIND_COMPONENTS (rt #979516)
pkg_check_modules
(
tinemt tinemt
)
if
(
tinemt_FOUND
)
list
(
APPEND DOOCS_FIND_COMPONENTS tinemt
)
else
()
find_library
(
TINEMTLIB tinemt REQUIRED
)
endif
()
pkg_check_modules
(
DOOCS REQUIRED
${
DOOCS_FIND_COMPONENTS
}
)
string
(
REPLACE
";"
" "
DOOCS_CFLAGS
"
${
DOOCS_CFLAGS
}
"
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment