Skip to content

Commit 7144715

Browse files
committed
cmake: building nexe against zlib is only required by cgame because of freetype
1 parent 3af428e commit 7144715

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,8 @@ if ( USE_STATIC_LIBS )
617617
endif()
618618
endif()
619619

620-
621620
# zlib
622-
if (BUILD_CLIENT OR BUILD_TTY_CLIENT OR BUILD_SERVER OR BUILD_DUMMY_APP OR NACL)
621+
if (BUILD_CLIENT OR BUILD_TTY_CLIENT OR BUILD_SERVER OR BUILD_DUMMY_APP OR (NACL AND BUILD_CGAME))
623622
if (NOT NACL)
624623
find_package(ZLIB REQUIRED)
625624
else()

0 commit comments

Comments
 (0)