Mark zlib as found when using SAPI CMake build

Signed-off-by: Christian Blichmann <mail@blichmann.eu>
This commit is contained in:
Christian Blichmann 2020-06-30 08:52:33 +02:00
parent 5de6b84111
commit 2ffea13759
2 changed files with 1 additions and 2 deletions

View File

@ -34,6 +34,7 @@ endif()
set(_zlib_src "${CMAKE_BINARY_DIR}/zlib-src")
set(ZLIB_FOUND TRUE)
set(ZLIB_INCLUDE_DIRS ${_zlib_src})
add_library(z STATIC

View File

@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
find_package(ZLIB REQUIRED)
# sandboxed_api/sandbox2/examples/zlib:zpipe_sandbox
add_executable(sandbox2_zpipe_sandbox
zpipe_sandbox.cc