diff --git a/CMakeModules/FindInventor.cmake b/CMakeModules/FindInventor.cmake index a3f14d0aa..1cdd026e0 100644 --- a/CMakeModules/FindInventor.cmake +++ b/CMakeModules/FindInventor.cmake @@ -53,7 +53,7 @@ FIND_LIBRARY(INVENTOR_LIBRARY_DEBUG ) IF(NOT INVENTOR_LIBRARY_DEBUG) IF(INVENTOR_LIBRARY) - SET(INVENTOR_LIBRARY_DEBUG INVENTOR_LIBRARY) + SET(INVENTOR_LIBRARY_DEBUG ${INVENTOR_LIBRARY}) ENDIF(INVENTOR_LIBRARY) ENDIF(NOT INVENTOR_LIBRARY_DEBUG)