Attached Files | 0001-Wrong-use-of-IS_ABSOLUTE-in-GenerateExportHeader.cma.patch [^] (1,041 bytes) 2011-12-31 15:36 [Show Content] [Hide Content]From 93ddc8b67a421f1a101afafc02b6a940aadbaa58 Mon Sep 17 00:00:00 2001
From: Michael Wild <themiwi@users.sourceforge.net>
Date: Sat, 31 Dec 2011 21:31:40 +0100
Subject: [PATCH] Wrong use of IS_ABSOLUTE in GenerateExportHeader.cmake
Closes: #12645
Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
---
Modules/GenerateExportHeader.cmake | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index 7df274e..781b6e7 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -298,7 +298,7 @@ macro(_DO_GENERATE_EXPORT_HEADER TARGET_LIBRARY)
set(EXPORT_MACRO_NAME ${_GEH_PREFIX_NAME}${_GEH_EXPORT_MACRO_NAME})
endif()
if(_GEH_EXPORT_FILE_NAME)
- if(IS_ABSOLUTE _GEH_EXPORT_FILE_NAME)
+ if(IS_ABSOLUTE ${_GEH_EXPORT_FILE_NAME})
set(EXPORT_FILE_NAME ${_GEH_EXPORT_FILE_NAME})
else()
set(EXPORT_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/${_GEH_EXPORT_FILE_NAME}")
--
1.7.5.4
|