Skip to content

Commit b54aff7

Browse files
Tutorial 27: fixed textures deployment location
1 parent 1568f74 commit b54aff7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tutorials/Tutorial27_PostProcessing/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ cmake_minimum_required (VERSION 3.10)
33
project(Tutorial27_PostProcessing CXX)
44

55
file(COPY ../../Samples/GLTFViewer/assets/textures/papermill.ktx DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/assets/textures)
6+
set(TEXTURES
7+
assets/textures/papermill.ktx
8+
)
69

710
add_sample_app(Tutorial27_PostProcessing
811
IDE_FOLDER
@@ -21,7 +24,7 @@ add_sample_app(Tutorial27_PostProcessing
2124
assets/shaders/ApplyToneMap.fx
2225
assets/shaders/GammaCorrection.fx
2326
ASSETS
24-
assets/textures/papermill.ktx
27+
${TEXTURES}
2528
)
2629

2730
target_link_libraries(Tutorial27_PostProcessing PRIVATE DiligentFX)

0 commit comments

Comments
 (0)