Actions
Bug #528
closedUse IF( VAR MATCHES "STRING") in examples/CMakeLists.txt
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
Updated by Koen Deforche over 13 years ago
- Status changed from New to InProgress
- Assignee set to Wim Dumon
Updated by Koen Deforche over 13 years ago
- Status changed from InProgress to Resolved
Actions