Pārlūkot izejas kodu

Set label on PythonQt decorators associated with CTK libraries

The associated label corresponds to the associated CTK library name
Jean-Christophe Fillion-Robin 14 gadi atpakaļ
vecāks
revīzija
9285f10993
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      CMake/ctkMacroBuildLib.cmake

+ 2 - 0
CMake/ctkMacroBuildLib.cmake

@@ -176,6 +176,8 @@ MACRO(ctkMacroBuildLib)
     IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
       SET_TARGET_PROPERTIES(${lib_name}PythonQt PROPERTIES COMPILE_FLAGS "-fPIC")
     ENDIF()
+    # Set labels associated with the target.
+    SET_TARGET_PROPERTIES(${lib_name}PythonQt PROPERTIES LABELS ${lib_name})
 
     # Update list of libraries wrapped with PythonQt
     SET(CTK_WRAPPED_LIBRARIES_PYTHONQT