Skip to content

Commit

Permalink
Filter out src/openpose/CMakeFiles from available target subdirectori…
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Droz authored and gineshidalgo99 committed Sep 10, 2018
1 parent a6bde61 commit a03253a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ macro(subdirlist result curdir)
FILE(GLOB children RELATIVE ${curdir} ${curdir}/*)
SET(dirlist "")
foreach (child ${children})
if (IS_DIRECTORY ${curdir}/${child})
if (IS_DIRECTORY ${curdir}/${child} AND NOT ${child} STREQUAL "CMakeFiles")
list(APPEND dirlist ${child})
endif()
endforeach ()
Expand Down

0 comments on commit a03253a

Please sign in to comment.