Commit d5eba27de51d2ad1d5d36e97b9c74c8d565a1f48
1 parent
856f1995
Exists in
master
and in
1 other branch
Quick fix to support tirpc (for fedora 30)
Showing
3 changed files
with
14 additions
and
0 deletions
Show diff stats
CMakeLists.txt
... | ... | @@ -27,6 +27,18 @@ endif( CMAKE_SIZEOF_VOID_P EQUAL 8 ) |
27 | 27 | |
28 | 28 | find_package( Threads REQUIRED ) |
29 | 29 | |
30 | +# Quick fix to support tirpc => ToDo use find_package | |
31 | +if (EXISTS "/usr/include/tirpc") | |
32 | + include_directories("/usr/include/tirpc") | |
33 | +endif() | |
34 | + | |
35 | +if (EXISTS "/usr/lib64/libtirpc.so") | |
36 | + set (TIRPC "tirpc") | |
37 | +else() | |
38 | + set (TIRPC "") | |
39 | +endif() | |
40 | +# | |
41 | + | |
30 | 42 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") |
31 | 43 | |
32 | 44 | find_package( Log4Cxx REQUIRED) | ... | ... |
src/DDClientLibC/CMakeLists.txt