Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ChimeraTK/CommandLineTools
Browse files Browse the repository at this point in the history
  • Loading branch information
mhier committed May 9, 2019
2 parents d83427d + 6b3f782 commit 0365c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/FindDOOCS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ set(DOOCS_LINK_FLAGS "${DOOCS_LINKER_FLAGS}")

# extract DOOCS version from librar so symlink. Note: This is platform dependent and only works
# if DOOCS was installed from the Debian pagackes. Find a better version detection scheme!
execute_process(COMMAND bash -c "readelf -d ${DOOCS_DIR}/libDOOCSapi.so | grep SONAME | sed -e 's/^.*Library soname: \\[libDOOCSapi\\.so\\.//' -e 's/\\]$//'"
execute_process(COMMAND bash -c "env LANG=C readelf -d ${DOOCS_DIR}/libDOOCSapi.so | grep SONAME | sed -e 's/^.*Library soname: \\[libDOOCSapi\\.so\\.//' -e 's/\\]$//'"
OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE DOOCS_VERSION)

# use a macro provided by CMake to check if all the listed arguments are valid and set DOOCS_FOUND accordingly
Expand Down

0 comments on commit 0365c70

Please sign in to comment.