Remove obsolete CMake statements

When using modern CMake and Qt6 we can remove obsolete source_group() and QT_MOC_HEADERS
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-01-28 07:01:42 +01:00
1 parent 16e978cc8b
commit ca0179d118
122 files changed
+1 -897

No files matched your search

-6
View File
@@ -70,11 +70,6 @@ if(RESINSIGHT_ENABLE_GRPC)
list(APPEND CODE_SOURCE_FILES RiaGrpcConsoleApplication.cpp
RiaGrpcGuiApplication.cpp
)
list(APPEND QT_MOC_HEADERS RiaGrpcConsoleApplication.h
RiaGrpcGuiApplication.h
)
endif()
list(APPEND CPP_SOURCES ${CODE_SOURCE_FILES})
@@ -308,7 +303,6 @@ if(RESINSIGHT_ENABLE_GRPC)
add_custom_target(
RipsGeneratedPythonClasses ALL SOURCES ${GENERATED_CLASSES_FILE}
)
source_group("Source Files" ${GENERATED_CLASSES_FILE})
add_dependencies(RipsGeneratedPythonClasses ResInsight)
# Copy the Python folder to build folder. This will ease debugging of Python