mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-04-03 10:01:23 +02:00
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:
parent
99b9967970
commit
131d2ec487
@ -33,5 +33,6 @@ endif()
|
|||||||
add_subdirectory(
|
add_subdirectory(
|
||||||
${_download_root}/googletest-src
|
${_download_root}/googletest-src
|
||||||
${_download_root}/googletest-build
|
${_download_root}/googletest-build
|
||||||
|
EXCLUDE_FROM_ALL
|
||||||
)
|
)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user