Project

General

Profile

Actions

Bug #528

closed

Use IF( VAR MATCHES "STRING") in examples/CMakeLists.txt

Added by Pau Garcia i Quiles over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/23/2010
Due date:
% Done:

0%

Estimated time:

Description

The examples/CMakeLists.txt file uses IF (${VAR} STREQUAL \"STRING\") to find out if the connector used for the examples is the ISAPI connector. In Debian, we use "wt;wthttp" as the connector, which results in an error because CMake expands that to IF( "wt" "wthttp" STREQUAL "isapi" ). The same result can be achieved with IF( VAR MATCHES "STRING" ) and it works fine for variables which are lists ("wt;wthttp").

The attached patch fixes the issue.


Files

08_cmake_ifmatches.dpatch (1.44 KB) 08_cmake_ifmatches.dpatch Pau Garcia i Quiles, 09/23/2010 05:00 AM
Actions #1

Updated by Koen Deforche over 13 years ago

  • Status changed from New to InProgress
  • Assignee set to Wim Dumon
Actions #2

Updated by Koen Deforche over 13 years ago

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche over 13 years ago

  • Status changed from Resolved to Closed

Fixed in 3.1.6

Actions

Also available in: Atom PDF