Add sdk-playback option using Huawei IVS_SDK_PlaybackPlatform - #2
Add sdk-playback option using Huawei IVS_SDK_PlaybackPlatform#2gunnxx wants to merge 11 commits into
Conversation
| # Set default compile flags for GCC | ||
| if(CMAKE_COMPILER_IS_GNUCXX) | ||
| message(STATUS "GCC detected, adding compile flags") | ||
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98 -pedantic -Wall -Wextra") |
| # Detect dependencies | ||
| # ---------------------------------------------------------------------------- | ||
| find_library(IVS_SDK_LIBRARY NAMES IVS_SDK HINTS $ENV{IVS_SDK_PATH}/lib) | ||
| find_library(IVS_SDK_LIBRARY NAMES IVS_SDK HINTS $ENV{IVS_SDK_PATH}/sdklib) |
There was a problem hiding this comment.
I see that the sdk path from Huawei is different for Linux (/lib) and Windows (/sdklib). You could use both in the find_library.
find_library(IVS_SDK_LIBRARY
NAMES IVS_SDK
HINTS $ENV{IVS_SDK_PATH}/lib $ENV{IVS_SDK_PATH}/sdklib
)
|
I'm having this error when compiling on Ubuntu. It happened because the |
|
Ok, I'll give it a try. I just knew about this compatibility thing. |
|
Sure. I'll take a look. |
|
I did wrap Edit : just ran |
Edit include file path of spdlog to its relative path and edit CMakeLists option to make it compatible with Windows