Permalink
Browse files

actually use the jttk root dir specified

  • Loading branch information...
rpavlik committed May 11, 2011
1 parent 501dbb2 commit f131cbed468073deb4e605f6f43aa70fc81d4990
Showing with 4 additions and 2 deletions.
  1. +4 −2 FindJtTk.cmake
View
@@ -144,13 +144,15 @@ elseif(UNIX)
string(TOLOWER "${CMAKE_SYSTEM_NAME}" _sysname)
file(TO_CMAKE_PATH "$ENV{JTTK_DEV_PATH}" _envloc)
prefix_list_glob(_jttklibs
- "lib/${_sysname}_${BITS}${_compiler}/libJtTk*"
+ "/lib/${_sysname}_${BITS}${_compiler}/libJtTk*"
+ "${JTTK_ROOT_DIR}"
"/usr/"
"/usr/local/"
"/usr/local/siemens/"
"/usr/local/ugs/")
prefix_list_glob(_jttklibs2
- "dev/lib/${_sysname}_${BITS}${_compiler}/libJtTk*"
+ "/dev/lib/${_sysname}_${BITS}${_compiler}/libJtTk*"
+ "${JTTK_ROOT_DIR}"
"/usr/"
"/usr/local/"
"/usr/local/siemens/"

0 comments on commit f131cbe

Please sign in to comment.