Fix for build zlib option when not using vcpkg
This commit is contained in:
parent
87b1d32ce8
commit
eb8cd1a5b4
2 changed files with 2 additions and 2 deletions
|
|
@ -313,7 +313,7 @@ IF(ZLIB_FOUND)
|
|||
OPTION(EQEMU_BUILD_ZLIB "Build internal version of zlib." OFF)
|
||||
|
||||
IF(EQEMU_BUILD_ZLIB)
|
||||
INCLUDE_DIRECTORIES(SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}/libs/zlibng")
|
||||
INCLUDE_DIRECTORIES(BEFORE SYSTEM "${CMAKE_CURRENT_BINARY_DIR}/libs/zlibng" "${CMAKE_CURRENT_SOURCE_DIR}/libs/zlibng")
|
||||
SET(SERVER_LIBS ${SERVER_LIBS} "zlibstatic")
|
||||
ELSE()
|
||||
INCLUDE_DIRECTORIES(SYSTEM "${ZLIB_INCLUDE_DIRS}")
|
||||
|
|
|
|||
|
|
@ -861,5 +861,5 @@ if (ZLIB_ENABLE_TESTS)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
FEATURE_SUMMARY(WHAT ALL INCLUDE_QUIET_PACKAGES)
|
||||
# FEATURE_SUMMARY(WHAT ALL INCLUDE_QUIET_PACKAGES)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue