summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/activeqt/container/Qt6AxContainerMacros.cmake4
-rw-r--r--src/activeqt/control/Qt6AxServerMacros.cmake12
2 files changed, 8 insertions, 8 deletions
diff --git a/src/activeqt/container/Qt6AxContainerMacros.cmake b/src/activeqt/container/Qt6AxContainerMacros.cmake
index 7c53c06..5816b30 100644
--- a/src/activeqt/container/Qt6AxContainerMacros.cmake
+++ b/src/activeqt/container/Qt6AxContainerMacros.cmake
@@ -94,7 +94,7 @@ C indentifier")
endfunction()
if(NOT QT_NO_CREATE_VERSIONLESS_FUNCTIONS)
- function(qt_target_typelibs)
+ macro(qt_target_typelibs)
qt6_target_typelibs(${ARGV})
- endfunction()
+ endmacro()
endif()
diff --git a/src/activeqt/control/Qt6AxServerMacros.cmake b/src/activeqt/control/Qt6AxServerMacros.cmake
index 0e6bcad..9b50cdc 100644
--- a/src/activeqt/control/Qt6AxServerMacros.cmake
+++ b/src/activeqt/control/Qt6AxServerMacros.cmake
@@ -88,13 +88,13 @@ target will be a separate file.\"")
endfunction()
if(NOT QT_NO_CREATE_VERSIONLESS_FUNCTIONS)
- function(qt_add_axserver_executable)
+ macro(qt_add_axserver_executable)
qt6_add_axserver_executable(${ARGV})
- endfunction()
- function(qt_add_axserver_library)
+ endmacro()
+ macro(qt_add_axserver_library)
qt6_add_axserver_library(${ARGV})
- endfunction()
- function(qt_target_idl)
+ endmacro()
+ macro(qt_target_idl)
qt6_target_idl(${ARGV})
- endfunction()
+ endmacro()
endif()