Explorar el Código

COMP: UseCTK.cmake.in uses both CTK_LIBRARY_DIRS and CTK_EXTERNAL_LIBRARY_DIRS with LINK_DIRECTORIES()

Jean-Christophe Fillion-Robin hace 15 años
padre
commit
7cafda1dca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      UseCTK.cmake.in

+ 1 - 1
UseCTK.cmake.in

@@ -31,6 +31,6 @@ IF(NOT CTK_USE_FILE_INCLUDED)
   INCLUDE_DIRECTORIES(${CTK_INCLUDE_DIRS})
   INCLUDE_DIRECTORIES(${CTK_INCLUDE_DIRS})
  
  
   # Add link directories needed to use CTK.
   # Add link directories needed to use CTK.
-  LINK_DIRECTORIES(${CTK_LIBRARY_DIRS})
+  LINK_DIRECTORIES(${CTK_LIBRARY_DIRS} ${CTK_EXTERNAL_LIBRARY_DIRS})
  
  
 ENDIF()
 ENDIF()