[PATCH 2 of 3] Fix syntax error in check for strip

Wald Commits scm-commit at wald.intevation.org
Wed Sep 3 15:01:55 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1409667047 -7200
# Node ID 86fbada04af70f1062dbd8fd89b17ff4ad5fae75
# Parent  5ec1cf66922ed3fbfff6419e4c46c103976d88c9
Fix syntax error in check for strip

diff -r 5ec1cf66922e -r 86fbada04af7 ui/tests/CMakeLists.txt
--- a/ui/tests/CMakeLists.txt	Tue Sep 02 16:04:59 2014 +0200
+++ b/ui/tests/CMakeLists.txt	Tue Sep 02 16:10:47 2014 +0200
@@ -79,7 +79,7 @@
 if (WIN32)
    add_custom_test(windowsstoretest.cpp "${CMAKE_SOURCE_DIR}/cinst/windowsstore.c")
 
-   if (NOT "${CMAKE_STRIP}")
+   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()


More information about the Trustbridge-commits mailing list