summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/CMakeLists.txt b/Graphics/GraphicsEngineD3DBase/CMakeLists.txt
index 1ffe9558..decd024a 100644
--- a/Graphics/GraphicsEngineD3DBase/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3DBase/CMakeLists.txt
@@ -37,9 +37,8 @@ SOURCES
)
if(PLATFORM_UNIVERSAL_WINDOWS)
- # On Universal Windows Platform, we cannot run File2String utility and will use prebuilt Win32 version
- get_target_property(FILE2STRING_SOURCE_DIR File2String SOURCE_DIR)
- set(FILE2STRING_PATH "${FILE2STRING_SOURCE_DIR}/bin/Win32/File2String.exe")
+ # On Universal Windows Platform, we cannot build File2String utility and will use prebuilt Win32 version
+ set(FILE2STRING_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../Utilities/File2Include/bin/Win32/File2String.exe")
else()
add_dependencies(ProcessHLSLDefinitions File2String)
set(FILE2STRING_PATH $<TARGET_FILE:File2String>)