mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Mark zlib as found when using SAPI CMake build
Signed-off-by: Christian Blichmann <mail@blichmann.eu>
This commit is contained in:
parent
5de6b84111
commit
2ffea13759
|
@ -34,6 +34,7 @@ endif()
|
||||||
|
|
||||||
set(_zlib_src "${CMAKE_BINARY_DIR}/zlib-src")
|
set(_zlib_src "${CMAKE_BINARY_DIR}/zlib-src")
|
||||||
|
|
||||||
|
set(ZLIB_FOUND TRUE)
|
||||||
set(ZLIB_INCLUDE_DIRS ${_zlib_src})
|
set(ZLIB_INCLUDE_DIRS ${_zlib_src})
|
||||||
|
|
||||||
add_library(z STATIC
|
add_library(z STATIC
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
find_package(ZLIB REQUIRED)
|
|
||||||
|
|
||||||
# sandboxed_api/sandbox2/examples/zlib:zpipe_sandbox
|
# sandboxed_api/sandbox2/examples/zlib:zpipe_sandbox
|
||||||
add_executable(sandbox2_zpipe_sandbox
|
add_executable(sandbox2_zpipe_sandbox
|
||||||
zpipe_sandbox.cc
|
zpipe_sandbox.cc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user