diff --git a/ApplicationLibCode/Automation/CMakeLists_files.cmake b/ApplicationLibCode/Automation/CMakeLists_files.cmake index e40100295d..e394fd9b06 100644 --- a/ApplicationLibCode/Automation/CMakeLists_files.cmake +++ b/ApplicationLibCode/Automation/CMakeLists_files.cmake @@ -1,11 +1,9 @@ -set(SOURCE_GROUP_HEADER_FILES - ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationServer.h - ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationJson.h +set(SOURCE_GROUP_HEADER_FILES ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationServer.h + ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationJson.h ) -set(SOURCE_GROUP_SOURCE_FILES - ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationServer.cpp - ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationJson.cpp +set(SOURCE_GROUP_SOURCE_FILES ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationServer.cpp + ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationJson.cpp ) list(APPEND CODE_HEADER_FILES ${SOURCE_GROUP_HEADER_FILES}) diff --git a/CMakeLists.txt b/CMakeLists.txt index b22c1142aa..21dd5d6864 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,12 +299,17 @@ endif() # UI Automation server (Qt HTTP Server) # ############################################################################## -option(RESINSIGHT_ENABLE_UI_AUTOMATION - "Enable the localhost UI automation HTTP server (requires Qt6::HttpServer)" - OFF +option( + RESINSIGHT_ENABLE_UI_AUTOMATION + "Enable the localhost UI automation HTTP server (requires Qt6::HttpServer)" + OFF ) if(RESINSIGHT_ENABLE_UI_AUTOMATION) - find_package(Qt6 COMPONENTS HttpServer REQUIRED) + find_package( + Qt6 + COMPONENTS HttpServer + REQUIRED + ) add_definitions(-DENABLE_UI_AUTOMATION) message(STATUS "UI automation server enabled (Qt6::HttpServer)") endif()