Fix make install on linux

This commit is contained in:
Vincent Lejeune 2015-01-19 02:22:40 +01:00
parent 4d9835df0d
commit 573ad4bb1c

View File

@ -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})