mirror of
https://github.com/videolan/vlc.git
synced 2024-11-27 03:47:46 +08:00
libvlc: always include the libvlc version header from vlc.h
Just like the other libvlc headers.
This commit is contained in:
parent
6aab42ab61
commit
8c2b60de03
@ -19,7 +19,7 @@ project("libvlc samples")
|
||||
|
||||
# define the libvlc external build
|
||||
add_library(libvlc SHARED IMPORTED GLOBAL)
|
||||
target_include_directories(libvlc INTERFACE "${LIBVLC_SDK_INC}")
|
||||
target_include_directories(libvlc INTERFACE ${LIBVLC_SDK_INC})
|
||||
if (MSVC)
|
||||
set_target_properties(libvlc PROPERTIES IMPORTED_IMPLIB "${LIBVLC_SDK_LIB}/libvlc.lib")
|
||||
else ()
|
||||
|
@ -146,7 +146,7 @@ variables:
|
||||
fi
|
||||
extras/package/win32/build.sh -a $HOST_ARCH $EXTRA_BUILD_FLAGS $LIBVLC_EXTRA_BUILD_FLAGS $UWP_EXTRA_BUILD_FLAGS
|
||||
if [ "${CI_JOB_NAME}" = "win64" ]; then
|
||||
cmake -DLIBVLC_SDK_INC:STRING=${CI_PROJECT_DIR}/include -DLIBVLC_SDK_LIB:STRING=${CI_PROJECT_DIR}/${VLCARCH}/lib/.libs -H${CI_PROJECT_DIR}/doc/libvlc -B${CI_PROJECT_DIR}/doc/libvlc/build \
|
||||
cmake -DLIBVLC_SDK_INC:STRING="${CI_PROJECT_DIR}/include;${CI_PROJECT_DIR}/${VLCARCH}/include" -DLIBVLC_SDK_LIB:STRING=${CI_PROJECT_DIR}/${VLCARCH}/lib/.libs -H${CI_PROJECT_DIR}/doc/libvlc -B${CI_PROJECT_DIR}/doc/libvlc/build \
|
||||
-G Ninja -DCMAKE_C_COMPILER=${TRIPLET}-gcc -DCMAKE_CXX_COMPILER=${TRIPLET}-g++ -DCMAKE_SYSTEM_NAME=Windows
|
||||
cmake --build ${CI_PROJECT_DIR}/doc/libvlc/build
|
||||
fi
|
||||
|
@ -46,6 +46,7 @@ extern "C" {
|
||||
#include <vlc/libvlc_media_discoverer.h>
|
||||
#include <vlc/libvlc_events.h>
|
||||
#include <vlc/libvlc_dialog.h>
|
||||
#include <vlc/libvlc_version.h>
|
||||
#include <vlc/deprecated.h>
|
||||
|
||||
# ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user