CMake: correct include dirs
[blender.git] / source / blender / datatoc / CMakeLists.txt
index 53fe8c32e9c0d542d5cd6985529e04564bb9210b..4c35a9417573467baadc22a8994c86024324ff5f 100644 (file)
@@ -53,7 +53,7 @@ if(NOT WITH_HEADLESS)
                )
        endif()
 
-       include_directories(${PNG_INCLUDE_DIR})
+       include_directories(${PNG_INCLUDE_DIRS})
        link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH})
 
        add_executable(datatoc_icon ${SRC})