Try to fix server only build in linux
This commit is contained in:
parent
bda6c546d0
commit
b6c893b03e
4
lib/irrlicht/CMakeLists.txt
Executable file → Normal file
4
lib/irrlicht/CMakeLists.txt
Executable file → Normal file
@ -62,6 +62,8 @@ else()
|
||||
"${ZLIB_INCLUDE_DIR}")
|
||||
if(MSVC OR APPLE)
|
||||
include_directories("${CMAKE_CURRENT_BINARY_DIR}/../zlib/")
|
||||
else()
|
||||
find_package(ZLIB REQUIRED)
|
||||
endif()
|
||||
add_definitions(-DNO_IRR_COMPILE_WITH_LIBPNG_)
|
||||
add_definitions(-DNO_IRR_COMPILE_WITH_LIBJPEG_)
|
||||
@ -623,4 +625,4 @@ endif()
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(stkirrlicht imm32 xinput9_1_0)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user