diff options
author | Michael Wild <themiwi@users.sourceforge.net> | 2011-12-31 20:31:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-01-02 18:27:07 (GMT) |
commit | 9f92cdf24d661fa46c19387fdc400c8d19c9a15d (patch) | |
tree | 4b85abae43f12f18e663e000df7220cee83b975d /Modules/GenerateExportHeader.cmake | |
parent | 4e985000124931cb8219da35cc507b4ccf05d30f (diff) | |
download | CMake-9f92cdf24d661fa46c19387fdc400c8d19c9a15d.zip CMake-9f92cdf24d661fa46c19387fdc400c8d19c9a15d.tar.gz CMake-9f92cdf24d661fa46c19387fdc400c8d19c9a15d.tar.bz2 |
GenerateExportHeader: Fix wrong use of IS_ABSOLUTE (#12645)
Test content of _GEH_EXPORT_FILE_NAME, not variable name.
Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
Diffstat (limited to 'Modules/GenerateExportHeader.cmake')
-rw-r--r-- | 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}") |