We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e55eb82 commit 3e447afCopy full SHA for 3e447af
1 file changed
cmake/Uldaq.cmake
@@ -54,7 +54,10 @@ ExternalProject_Add(uldaq_external
54
--disable-shared
55
56
BUILD_COMMAND make -j${NPROC}
57
- INSTALL_COMMAND make install
+ # Install only from src/ to get the library and header.
58
+ # The top-level install tries to write udev rules to /lib and run ldconfig,
59
+ # both of which require root and are unnecessary for a static library build.
60
+ INSTALL_COMMAND make -C src install
61
BUILD_IN_SOURCE OFF
62
BUILD_BYPRODUCTS "${ULDAQ_INSTALL_DIR}/lib/libuldaq.a"
63
)
0 commit comments