From 573ad4bb1c856f7f368f4e307809a95c374387c1 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Mon, 19 Jan 2015 02:22:40 +0100 Subject: [PATCH] Fix make install on linux --- lib/irrlicht/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/irrlicht/CMakeLists.txt b/lib/irrlicht/CMakeLists.txt index 107f999ec..ad4725d3e 100644 --- a/lib/irrlicht/CMakeLists.txt +++ b/lib/irrlicht/CMakeLists.txt @@ -495,12 +495,8 @@ if(APPLE) set_source_files_properties(source/Irrlicht/MacOSX/OSXClipboard.mm PROPERTIES LANGUAGE C) endif() -if(MSVC) add_library(stkirrlicht ${IRRLICHT_SOURCES}) -else() -add_library(stkirrlicht SHARED ${IRRLICHT_SOURCES}) -endif() -target_link_libraries(stkirrlicht ${PNG_LIBRARY} ${JPEG_LIBRARY}) +target_link_libraries(stkirrlicht ${PNG_LIBRARY} ${JPEG_LIBRARY} ${ZLIB_LIBRARY})