Skip to content

Commit c1e88bc

Browse files
committed
FindCppUnit.cmake: Add CPPUNIT_ROOT env var support
With this change it is possible to specify the location of the cppunit framework.
1 parent c17b88f commit c1e88bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/FindCppUnit.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
FIND_PATH(CPPUNIT_INCLUDE_DIR cppunit/TestCase.h
44
/usr/local/include
55
/usr/include
6+
$ENV{CPPUNIT_ROOT}/include
67
)
78

89
# With Win32, important to have both

0 commit comments

Comments
 (0)