diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-05-17 14:58:10 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-05-17 14:58:10 +0200 |
commit | 3262599413e5928dad5ae87c78967560cc144527 (patch) | |
tree | a1551593711e418b4472bec63ab805becd6fe0d0 /cmake | |
parent | 81e037b1ce0fe4c57413c0d2221f3566f30326f6 (diff) | |
download | weechat-3262599413e5928dad5ae87c78967560cc144527.zip |
core: make cpputest optional in cmake compilation
With this fix, WeeChat can be built without tests (if cpputest is not found),
without having to explicitely disable tests ("-DENABLE_TESTS=OFF").
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindCppUTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindCppUTest.cmake b/cmake/FindCppUTest.cmake index 33740ddcb..67edd3d1c 100644 --- a/cmake/FindCppUTest.cmake +++ b/cmake/FindCppUTest.cmake @@ -33,5 +33,5 @@ endif() find_package(PkgConfig) if(PKG_CONFIG_FOUND) - pkg_search_module(CPPUTEST REQUIRED cpputest) + pkg_search_module(CPPUTEST cpputest) endif() |