Problem: googletest is also installed into install destination

Building and installing cppzmq brings googletest build artifacts to the
installation destination as well. For example someone building cppzmq
with:
```
cmake -DCMAKE_INSTALL_PREFIX=mydest .
cmake --build --target install
```
gets googletest headers and libraries in `mydest`.

Solution: remove googletest from install target
This commit is contained in:
Pawel Kurdybacha 2018-04-29 12:57:32 +01:00
parent 99b9967970
commit 131d2ec487

View File

@ -33,5 +33,6 @@ endif()
add_subdirectory(
${_download_root}/googletest-src
${_download_root}/googletest-build
EXCLUDE_FROM_ALL
)
endmacro()