diff options
author | Brad King <brad.king@kitware.com> | 2006-07-21 19:43:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-07-21 19:43:19 (GMT) |
commit | 3c9744f406d85a293fc504368d32ba34b5ed3332 (patch) | |
tree | ae48986833aa8d1aabb369c88e832e769d9ef5af /Source/WXDialog/bin/FindUPX.cmake | |
parent | b377c8ac725aea5a7b892b830b29fb80355cb097 (diff) | |
download | CMake-3c9744f406d85a293fc504368d32ba34b5ed3332.zip CMake-3c9744f406d85a293fc504368d32ba34b5ed3332.tar.gz CMake-3c9744f406d85a293fc504368d32ba34b5ed3332.tar.bz2 |
ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script.
Diffstat (limited to 'Source/WXDialog/bin/FindUPX.cmake')
-rw-r--r-- | Source/WXDialog/bin/FindUPX.cmake | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/WXDialog/bin/FindUPX.cmake b/Source/WXDialog/bin/FindUPX.cmake index 7623841..fc9113d 100644 --- a/Source/WXDialog/bin/FindUPX.cmake +++ b/Source/WXDialog/bin/FindUPX.cmake @@ -5,14 +5,11 @@ # UPX_FOUND Is set to 1 when upx is found FIND_PATH(UPX_PROGRAM_PATH upx.exe - "c:\Program Files\upx" - "d:\Program Files\upx" - "e:\Program Files\upx" - "f:\Program Files\upx" - "g:\Program Files\upx" - "h:\Program Files\upx" + ${UPX_DIR} + $ENV{UPX_DIR} + "$ENV{ProgramFiles}/upx" ) - + # when found, note this as target IF(UPX_PROGRAM_PATH) SET(UPX_FOUND 1) |