Commit f9c88043 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Ugly hack to have mdate on windows too. This fix windows build

parent 3f3a8249
......@@ -41,15 +41,17 @@ FIND_LIBRARY(LIBVLC_LIBRARY NAMES vlc PATHS
NO_DEFAULT_PATH
)
FIND_LIBRARY(LIBVLC_LIBRARY NAMES vlc)
FIND_LIBRARY(LIBVLCCORE_LIBRARY NAMES vlccore)
IF (LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY)
IF (LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY AND LIBVLCCORE_LIBRARY)
SET(LIBVLC_FOUND TRUE)
ENDIF (LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY)
ENDIF (LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY AND LIBVLCCORE_LIBRARY)
IF (LIBVLC_FOUND)
IF (NOT LIBVLC_FIND_QUIETLY)
MESSAGE(STATUS "Found LibVLC include-dir path: ${LIBVLC_INCLUDE_DIR}")
MESSAGE(STATUS "Found LibVLC library path:${LIBVLC_LIBRARY}")
MESSAGE(STATUS "Found LibVLCcore library path:${LIBVLCCORE_LIBRARY}")
ENDIF (NOT LIBVLC_FIND_QUIETLY)
ELSE (LIBVLC_FOUND)
IF (LIBVLC_FIND_REQUIRED)
......
......@@ -255,6 +255,7 @@ TARGET_LINK_LIBRARIES(vlmc
${QT_QTSVG_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${LIBVLC_LIBRARY}
${LIBVLCCORE_LIBRARY}
)
#INSTALL(FILES ${VLMC_SRC_HDRS} DESTINATION ${VLMC_INCLUDE_DIR})
......
......@@ -28,8 +28,8 @@
#ifndef MDATE_H
#define MDATE_H
#include <sys/types.h>
typedef int64_t mtime_t;
#include <QtGlobal>
typedef qint64 mtime_t;
extern "C" mtime_t mdate( void );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment