1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CMake: Avoid GLOB_RECURSE when adding PIPs

If git/zip-extraction add hidden directories containing files with a
`.h` extension we don't want to try to build those files as PIPs. Using
GLOB instead of GLOB_RECURSE should help to avoid files in nested
directories.
This commit is contained in:
reuk 2020-05-14 12:46:45 +01:00
parent 0e9fb915fa
commit 36a37c36bb
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -18,7 +18,7 @@ add_subdirectory(CMake)
add_subdirectory(DemoRunner)
function(_juce_add_pips)
file(GLOB_RECURSE headers
file(GLOB headers
CONFIGURE_DEPENDS LIST_DIRECTORIES false
"${CMAKE_CURRENT_SOURCE_DIR}/*.h")