summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-12-04 16:58:06 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-12-04 16:58:06 +0000
commit6ad0f284c064b1db1aea059b624fe6b681935144 (patch)
treedd1dbfcff1bb35317a243d94e9e7252b9da158c7 /Graphics/GraphicsEngineD3DBase
parentAdded cmake files (diff)
downloadDiligentCore-6ad0f284c064b1db1aea059b624fe6b681935144.tar.gz
DiligentCore-6ad0f284c064b1db1aea059b624fe6b681935144.zip
Updated cmake build rules for File2String
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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 $<TARGET_FILE:File2String> include/HLSLDefinitions.fxh include/HLSLDefinitions_inc.fxh
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Processing HLSLDefinitions.fxh"
VERBATIM