summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-01-09 19:09:27 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-01-09 19:09:27 (GMT)
commit3323c73381c1d0e287fffafe82b4b356ff7aea5f (patch)
treea66836d694d158ed9d6131761dcfc6e1a21a4d31 /Modules
parentd6f1c1101d200e5e181c8fb9ef41a6af3eef9430 (diff)
parent9f92cdf24d661fa46c19387fdc400c8d19c9a15d (diff)
downloadCMake-3323c73381c1d0e287fffafe82b4b356ff7aea5f.zip
CMake-3323c73381c1d0e287fffafe82b4b356ff7aea5f.tar.gz
CMake-3323c73381c1d0e287fffafe82b4b356ff7aea5f.tar.bz2
Merge topic 'GenerateExportHeader-IS_ABSOLUTE-issue-12645'
9f92cdf GenerateExportHeader: Fix wrong use of IS_ABSOLUTE (#12645)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/GenerateExportHeader.cmake2
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}")