From 075f191ff5d9e63c4e8c29a80c338cba0c5cb0ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Thu, 3 Dec 2009 21:59:24 +0000 Subject: [PATCH] cmake: patch file from cmakes bug tracker git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32304 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/modules/PCHSupport_26.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/cmake/modules/PCHSupport_26.cmake b/development/cmake/modules/PCHSupport_26.cmake index a31ffa34b8..81064637c7 100644 --- a/development/cmake/modules/PCHSupport_26.cmake +++ b/development/cmake/modules/PCHSupport_26.cmake @@ -177,7 +177,7 @@ MACRO(ADD_PRECOMPILED_HEADER_TO_TARGET _targetName _input _pch_output_to_use ) ENDMACRO(ADD_PRECOMPILED_HEADER_TO_TARGET) -MACRO(ADD_PRECOMPILED_HEADER _targetName _input) +MACRO(ADD_PRECOMPILED_HEADER _targetName _input _gch) SET(_PCH_current_target ${_targetName}) @@ -225,7 +225,7 @@ MACRO(ADD_PRECOMPILED_HEADER _targetName _input) ) #message("_command ${_input} ${_output}") - _PCH_GET_COMPILE_COMMAND(_command ${CMAKE_CURRENT_BINARY_DIR}/${_name} ${_output} ) + _PCH_GET_COMPILE_COMMAND(_command ${CMAKE_CURRENT_BINARY_DIR}/${_name} ${_gch} ) #message(${_input} ) #message("_output ${_output}")