Print

Print


OS: ArchLinux x86_64
GCC: 8.2.1
CMake: 3.12.4

The provided `FindCPPUnit.cmake` cannot find `cppunit` on ArchLinux. Current workaround is to manually pass the following:
```bash
-DBUILD_TESTS=1
-DCPPUNIT_FOUND=1
-DCPPUNIT_INCLUDE_DIRS=/usr/include
-DCPPUNIT_LIBRARIES=/usr/lib/libcppunit.so
```
Passing only `-DBUILD_TESTS=1` results in `libs not found` message. Also, the `-DCPPUNIT_FOUND=1` and `-DCPPUNIT_LIBRARIES=/usr/lib/libcppunit.so` are strictly required as otherwise it tries to link to the directory `/usr/lib` and not the actual library.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/858

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1