summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-12-13 01:01:59 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-12-13 01:01:59 +0000
commit1d9850102097a32fc5fb9fce7b5435f376b1225f (patch)
tree7247ad7e58cc4d3c179648310bdab7aaa4c72f93 /Graphics/GraphicsEngineD3D12
parentUpdated CMake files (diff)
downloadDiligentCore-1d9850102097a32fc5fb9fce7b5435f376b1225f.tar.gz
DiligentCore-1d9850102097a32fc5fb9fce7b5435f376b1225f.zip
Few more updates to cmake lists
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/CMakeLists.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/Graphics/GraphicsEngineD3D12/CMakeLists.txt b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
index 970347e7..ad150c5d 100644
--- a/Graphics/GraphicsEngineD3D12/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
@@ -139,7 +139,7 @@ foreach(FILE ${SHADERS})
# PRE_BUILD is treated as PRE_LINK.
COMMAND ${FXC} /T cs_5_0 ${FILE_NAME} /E "main" /O3 /Vn g_p${FILE_NAME_WE} /Fh ${OUT_FILE} /nologo
MAIN_DEPENDENCY ${FILE} # the primary input source file to the command
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/shaders/GenerateMips/
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/shaders/GenerateMips/"
COMMENT "Compiling shader ${FILE}"
VERBATIM
)
@@ -190,9 +190,7 @@ if(MSVC)
endif()
-source_group("src" FILES
- ${SRC}
-)
+source_group("src" FILES ${SRC})
source_group("dll" FILES
src/DLLMain.cpp
@@ -225,4 +223,3 @@ foreach(FILE ${SHADERS})
${FILE} PROPERTIES HEADER_FILE_ONLY TRUE
)
endforeach(FILE)
-