diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-11-04 18:25:43 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2012-11-04 18:25:43 (GMT) |
commit | daf1c4d5a7edbf046a4a3d324f2ca01fb1d1a856 (patch) | |
tree | 2f0babb51baac86834fb7de3cd618c8d2e846482 /Modules/FindSquish.cmake | |
parent | b878cd6fb4fee4c32bc97a7e63b8d25d2eab30cf (diff) | |
download | CMake-daf1c4d5a7edbf046a4a3d324f2ca01fb1d1a856.zip CMake-daf1c4d5a7edbf046a4a3d324f2ca01fb1d1a856.tar.gz CMake-daf1c4d5a7edbf046a4a3d324f2ca01fb1d1a856.tar.bz2 |
Squish: find executables also under Windows
This is required according to Volker Krause
(see http://public.kitware.com/Bug/view.php?id=9734)
Alex
Diffstat (limited to 'Modules/FindSquish.cmake')
-rw-r--r-- | Modules/FindSquish.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindSquish.cmake b/Modules/FindSquish.cmake index 6f34ccc..667060c 100644 --- a/Modules/FindSquish.cmake +++ b/Modules/FindSquish.cmake @@ -78,12 +78,12 @@ if(SQUISH_INSTALL_DIR) # find the client program if(NOT SQUISH_CLIENT_EXECUTABLE) - find_program(SQUISH_CLIENT_EXECUTABLE ${SQUISH_INSTALL_DIR}/bin/squishrunner DOC "The ${SQUISH_CLIENT_EXECUTABLE_STRING}") + find_program(SQUISH_CLIENT_EXECUTABLE ${SQUISH_INSTALL_DIR}/bin/squishrunner${CMAKE_EXECUTABLE_SUFFIX} DOC "The ${SQUISH_CLIENT_EXECUTABLE_STRING}") endif() # find the server program if(NOT SQUISH_SERVER_EXECUTABLE) - find_program(SQUISH_SERVER_EXECUTABLE ${SQUISH_INSTALL_DIR}/bin/squishserver DOC "The ${SQUISH_SERVER_EXECUTABLE_STRING}") + find_program(SQUISH_SERVER_EXECUTABLE ${SQUISH_INSTALL_DIR}/bin/squishserver${CMAKE_EXECUTABLE_SUFFIX} DOC "The ${SQUISH_SERVER_EXECUTABLE_STRING}") endif() else() |