mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Remove sentry package for linux for now
This commit is contained in:
parent
3c314b5bda
commit
2ed7bf20da
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 3.17 )
|
||||
|
||||
project(ScreenPlay LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
@ -19,7 +17,9 @@ find_package(
|
||||
REQUIRED)
|
||||
|
||||
find_package(OpenSSL REQUIRED)
|
||||
if(WIN32)
|
||||
find_package(sentry CONFIG REQUIRED)
|
||||
endif()
|
||||
|
||||
set(src main.cpp
|
||||
app.cpp
|
||||
@ -101,10 +101,13 @@ target_link_libraries(${PROJECT_NAME}
|
||||
Qt5::Widgets
|
||||
Qt5::Core
|
||||
Qt5::WebEngine
|
||||
sentry::sentry
|
||||
ScreenPlaySDK
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE sentry::sentry)
|
||||
endif()
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
${QT_TELEMTRY_INCLUDE})
|
||||
@ -117,7 +120,7 @@ configure_file(assets/fonts/NotoSansCJKkr-Regular.otf ${CMAKE_BINARY_DIR}/bin/as
|
||||
if(WIN32)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffmpeg.exe ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffprobe.exe ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
|
||||
else()
|
||||
elseif(APPLE)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffmpeg ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffprobe ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user