initial commit
Some checks failed
sgraves/cpp-build-system_mac/pipeline/head There was a failure building this commit
sgraves/cpp-build-system/pipeline/head There was a failure building this commit

This commit is contained in:
2025-10-17 07:44:16 -05:00
parent 933c973c79
commit 92e3e495ce
1099 changed files with 102722 additions and 0 deletions

16
cmake/libraries/vlc.cmake Normal file
View File

@@ -0,0 +1,16 @@
if(PROJECT_ENABLE_VLC AND PROJECT_BUILD)
add_definitions(-DPROJECT_ENABLE_VLC)
if (PROJECT_IS_MINGW)
set(libvlc_INCLUDE_DIRS ${PROJECT_3RD_PARTY_DIR}/vlc/sdk/include)
set(libvlc_LIBRARIES
${PROJECT_3RD_PARTY_DIR}/vlc/sdk/lib/libvlc.lib
${PROJECT_3RD_PARTY_DIR}/vlc/sdk/lib/libvlccore.lib
)
else()
pkg_check_modules(libvlc REQUIRED libvlc>=${VLC_VERSION})
endif()
include_directories(BEFORE SYSTEM ${libvlc_INCLUDE_DIRS})
link_libraries(${libvlc_LIBRARIES})
endif()