Updated the CMake globbing so it only compiles sources starting with a lowercase letter (apparently Mac OS auto-generates files looking like ._whatever and it was trying to compile those too)

This commit is contained in:
jbeder
2009-10-25 18:01:48 +00:00
parent 770466d5d4
commit 52e3e0a4aa
2 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
file(GLOB yaml-reader_headers *.h)
file(GLOB yaml-reader_sources *.cpp)
file(GLOB yaml-reader_headers [a-z]*.h)
file(GLOB yaml-reader_sources [a-z]*.cpp)
add_executable(yaml-reader
${yaml-reader_sources}