Mercurial > trustbridge
diff ui/tests/CMakeLists.txt @ 967:9494d4ee1d4e
Add fallback when CMAKE_STRIP is not found and warn about it
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 28 Aug 2014 12:57:18 +0200 |
parents | 3baee3445502 |
children | 7d08fd354bff |
line wrap: on
line diff
--- a/ui/tests/CMakeLists.txt Thu Aug 28 12:56:56 2014 +0200 +++ b/ui/tests/CMakeLists.txt Thu Aug 28 12:57:18 2014 +0200 @@ -77,6 +77,11 @@ if (WIN32) add_custom_test(windowsstoretest.cpp "${CMAKE_SOURCE_DIR}/cinst/windowsstore.c") + if (NOT "${CMAKE_STRIP}") + message(STATUS "WARNING CMAKE_STRIP not set. Please set this in your toolchain file. Falling back to: i686-w64-mingw32-strip") + set (CMAKE_STRIP "i686-w64-mingw32-strip") + endif() + if (OSSLSIGNCODE_EXECUTABLE) add_custom_test (binverifytest.cpp "") add_custom_command(