cmake: find qt5 network module
This commit is contained in:
@@ -90,7 +90,12 @@ find_package(Qt5 5.6 REQUIRED
|
||||
Svg
|
||||
LinguistTools
|
||||
Concurrent
|
||||
OPTIONAL_COMPONENTS
|
||||
Network
|
||||
)
|
||||
if (NOT Qt5Network_FOUND)
|
||||
message(" Qt5::Network module not found, crash reporting will be disabled.")
|
||||
endif()
|
||||
list(APPEND OLIVE_LIBRARIES
|
||||
Qt5::Core
|
||||
Qt5::Gui
|
||||
|
||||
+1
-1
@@ -137,6 +137,6 @@ target_include_directories(olive-editor PRIVATE ${OLIVE_INCLUDE_DIRS})
|
||||
target_include_directories(libolive-editor PRIVATE ${OLIVE_INCLUDE_DIRS})
|
||||
|
||||
# Add crash handler
|
||||
if (GoogleCrashpad_FOUND)
|
||||
if (GoogleCrashpad_FOUND AND Qt5Network_FOUND)
|
||||
add_subdirectory(crashhandler)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user