Kaynağa Gözat

Fix typo in ctkMacroBuildLibWrapper and update comment

Jean-Christophe Fillion-Robin 13 yıl önce
ebeveyn
işleme
ee90f69c5a
1 değiştirilmiş dosya ile 4 ekleme ve 3 silme
  1. 4 3
      CMake/ctkMacroBuildLibWrapper.cmake

+ 4 - 3
CMake/ctkMacroBuildLibWrapper.cmake

@@ -25,7 +25,7 @@
 
 
 
 
 #! When CTK is built as shared library, the following macro builds a python module
 #! When CTK is built as shared library, the following macro builds a python module
-#! associated the PythonQt wrapper. When loaded, this python module will
+#! associated with the generated PythonQt wrappers. When loaded, it will
 #! dynamically loads both the (1) generated decorators and the (2) hand written one.
 #! dynamically loads both the (1) generated decorators and the (2) hand written one.
 #! On the other hand, when CTK is built statically, it creates a
 #! On the other hand, when CTK is built statically, it creates a
 #! static library providing a initialization function that will allow to load
 #! static library providing a initialization function that will allow to load
@@ -34,7 +34,7 @@
 #! \ingroup CMakeAPI
 #! \ingroup CMakeAPI
 MACRO(ctkMacroBuildLibWrapper)
 MACRO(ctkMacroBuildLibWrapper)
   ctkMacroParseArguments(MY
   ctkMacroParseArguments(MY
-    "NAMESPACE;TARGET;SRCS;WRAPPER_LIBRARY_TYPE;ARCHIVE_OUTPUT_DIRECTORY;LIBRARY_OUTPUT_DIRECTORY;RUNTIME_OUTPUT_DIRECTORYINSTALL_BIN_DIR;INSTALL_LIB_DIR"
+    "NAMESPACE;TARGET;SRCS;WRAPPER_LIBRARY_TYPE;ARCHIVE_OUTPUT_DIRECTORY;LIBRARY_OUTPUT_DIRECTORY;RUNTIME_OUTPUT_DIRECTORY;INSTALL_BIN_DIR;INSTALL_LIB_DIR"
     "NO_INSTALL"
     "NO_INSTALL"
     ${ARGN}
     ${ARGN}
     )
     )
@@ -144,7 +144,7 @@ MACRO(ctkMacroBuildLibWrapper)
 
 
   # Install rules
   # Install rules
   IF(NOT MY_NO_INSTALL AND MY_WRAPPER_LIBRARY_TYPE STREQUAL "MODULE")
   IF(NOT MY_NO_INSTALL AND MY_WRAPPER_LIBRARY_TYPE STREQUAL "MODULE")
-    INSTALL(TARGETS ${lib_name}
+    INSTALL(TARGETS ${lib_name}PythonQt
       RUNTIME DESTINATION ${MY_INSTALL_BIN_DIR} COMPONENT Runtime
       RUNTIME DESTINATION ${MY_INSTALL_BIN_DIR} COMPONENT Runtime
       LIBRARY DESTINATION ${MY_INSTALL_LIB_DIR} COMPONENT Runtime
       LIBRARY DESTINATION ${MY_INSTALL_LIB_DIR} COMPONENT Runtime
       ARCHIVE DESTINATION ${MY_INSTALL_LIB_DIR} COMPONENT Development)
       ARCHIVE DESTINATION ${MY_INSTALL_LIB_DIR} COMPONENT Development)
@@ -152,3 +152,4 @@ MACRO(ctkMacroBuildLibWrapper)
 
 
 ENDMACRO()
 ENDMACRO()
 
 
+