forked from bartvdbraak/blender
fix compilation for mingw-w64
This commit is contained in:
parent
9cf6946d31
commit
02386bd1e3
@ -39,9 +39,9 @@ if(NOT WITH_HEADLESS)
|
||||
)
|
||||
|
||||
include_directories(${PNG_INCLUDE_DIR})
|
||||
link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH})
|
||||
|
||||
add_executable(datatoc_icon ${SRC})
|
||||
|
||||
link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH})
|
||||
target_link_libraries(datatoc_icon ${PNG_LIBRARIES})
|
||||
target_link_libraries(datatoc_icon ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
|
||||
endif()
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "../blenlib/BLI_sys_types.h"
|
||||
|
||||
/* for DIR */
|
||||
#ifndef WIN32
|
||||
#if !defined(WIN32) || defined(__MINGW64__)
|
||||
# include <dirent.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user