diff options
author | Petr Gotthard <gotthard@honeywell.com> | 2008-10-27 09:23:54 (GMT) |
---|---|---|
committer | Petr Gotthard <gotthard@honeywell.com> | 2008-10-27 09:23:54 (GMT) |
commit | fce34113e071f527f1dd1d795b6f8c187bb1f03a (patch) | |
tree | 789013891b0a8c3cb2518b00d6e8db51a1b4ca4f /Modules/FindRTI.cmake | |
parent | de25f5d131a05e4960d90a2e10bdc37cf20c23da (diff) | |
download | CMake-fce34113e071f527f1dd1d795b6f8c187bb1f03a.zip CMake-fce34113e071f527f1dd1d795b6f8c187bb1f03a.tar.gz CMake-fce34113e071f527f1dd1d795b6f8c187bb1f03a.tar.bz2 |
BUG: Fixed CMAKE_FIND_LIBRARY_PREFIXES related error on Win32 systems.
Diffstat (limited to 'Modules/FindRTI.cmake')
-rw-r--r-- | Modules/FindRTI.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindRTI.cmake b/Modules/FindRTI.cmake index be3ad8f..434f4a7 100644 --- a/Modules/FindRTI.cmake +++ b/Modules/FindRTI.cmake @@ -38,7 +38,7 @@ SET(RTI_POSSIBLE_DIRS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MAK Technologies\\MAK RTI 2.2;Location]" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MAK RTI 2.2;InstallLocation]") -SET(RTI_OLD_FIND_LIBRARY_PREFIXES ${CMAKE_FIND_LIBRARY_PREFIXES}) +SET(RTI_OLD_FIND_LIBRARY_PREFIXES "${CMAKE_FIND_LIBRARY_PREFIXES}") # The MAK RTI has the "lib" prefix even on Windows. SET(CMAKE_FIND_LIBRARY_PREFIXES "lib" "") @@ -79,7 +79,7 @@ ELSE (RTI_INCLUDE_DIR) ENDIF (RTI_INCLUDE_DIR) # Set the modified system variables back to the original value. -SET(CMAKE_FIND_LIBRARY_PREFIXES ${RTI_OLD_FIND_LIBRARY_PREFIXES}) +SET(CMAKE_FIND_LIBRARY_PREFIXES "${RTI_OLD_FIND_LIBRARY_PREFIXES}") INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(RTI DEFAULT_MSG |