Skip to content

Commit

Permalink
don't search for libjpeg/libpng if tutorials are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Sep 7, 2020
1 parent ef83da4 commit 5458f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ include(CMakeDependentOption)

OPTION(EMBREE_TUTORIALS "Enable to build Embree tutorials" ON)

ADD_SUBDIRECTORY(common/image)
CMAKE_DEPENDENT_OPTION(EMBREE_TUTORIALS_GLFW "Enables GLFW usage in tutorials. When disabled tutorial can only render to disk." ON "EMBREE_TUTORIALS" OFF)

IF (EMBREE_TUTORIALS)
ADD_SUBDIRECTORY(common/image)

IF (EMBREE_TUTORIALS_GLFW)

Expand Down

0 comments on commit 5458f56

Please sign in to comment.