Skip to content

Commit dbb5697

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

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
@@ -613,9 +613,8 @@ if ( USE_STATIC_LIBS )
613613
endif()
614614
endif()
615615

616-
617616
# zlib
618-
if (BUILD_CLIENT OR BUILD_TTY_CLIENT OR BUILD_SERVER OR BUILD_DUMMY_APP OR NACL)
617+
if (BUILD_CLIENT OR BUILD_TTY_CLIENT OR BUILD_SERVER OR BUILD_DUMMY_APP OR (NACL AND BUILD_CGAME))
619618
if (NOT NACL)
620619
find_package(ZLIB REQUIRED)
621620
else()

0 commit comments

Comments
 (0)