From 6ad0f284c064b1db1aea059b624fe6b681935144 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 4 Dec 2017 08:58:06 -0800 Subject: Updated cmake build rules for File2String --- Graphics/GraphicsEngineD3DBase/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3DBase') diff --git a/Graphics/GraphicsEngineD3DBase/CMakeLists.txt b/Graphics/GraphicsEngineD3DBase/CMakeLists.txt index 1eb2eed6..a9c20917 100644 --- a/Graphics/GraphicsEngineD3DBase/CMakeLists.txt +++ b/Graphics/GraphicsEngineD3DBase/CMakeLists.txt @@ -39,7 +39,7 @@ add_custom_command(TARGET ProcessHLSLDefinitions # Unfortunately it is not possible to set TARGET directly to GraphicsEngineD3DBase # because PRE_BUILD is only supported on Visual Studio 8 or later. For all other generators # PRE_BUILD is treated as PRE_LINK. - COMMAND ${CMAKE_CURRENT_BINARY_DIR}/../../Utilities/File2Include/File2String.exe include/HLSLDefinitions.fxh include/HLSLDefinitions_inc.fxh + COMMAND $ include/HLSLDefinitions.fxh include/HLSLDefinitions_inc.fxh WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "Processing HLSLDefinitions.fxh" VERBATIM -- cgit v1.2.3