Fix make install on linux
This commit is contained in:
parent
4d9835df0d
commit
573ad4bb1c
@ -495,12 +495,8 @@ if(APPLE)
|
|||||||
set_source_files_properties(source/Irrlicht/MacOSX/OSXClipboard.mm PROPERTIES LANGUAGE C)
|
set_source_files_properties(source/Irrlicht/MacOSX/OSXClipboard.mm PROPERTIES LANGUAGE C)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
|
||||||
add_library(stkirrlicht ${IRRLICHT_SOURCES})
|
add_library(stkirrlicht ${IRRLICHT_SOURCES})
|
||||||
else()
|
target_link_libraries(stkirrlicht ${PNG_LIBRARY} ${JPEG_LIBRARY} ${ZLIB_LIBRARY})
|
||||||
add_library(stkirrlicht SHARED ${IRRLICHT_SOURCES})
|
|
||||||
endif()
|
|
||||||
target_link_libraries(stkirrlicht ${PNG_LIBRARY} ${JPEG_LIBRARY})
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user