diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2017-12-04 16:58:06 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2017-12-04 16:58:06 +0000 |
| commit | 6ad0f284c064b1db1aea059b624fe6b681935144 (patch) | |
| tree | dd1dbfcff1bb35317a243d94e9e7252b9da158c7 /Graphics/GraphicsEngineD3DBase | |
| parent | Added cmake files (diff) | |
| download | DiligentCore-6ad0f284c064b1db1aea059b624fe6b681935144.tar.gz DiligentCore-6ad0f284c064b1db1aea059b624fe6b681935144.zip | |
Updated cmake build rules for File2String
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/CMakeLists.txt | 2 |
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 |
