How do I exclude a single file from a cmake `file(GLOB … )` pattern?
You can use the list function to manipulate the list, for example: list(REMOVE_ITEM <list> <value> [<value> …]) In your case, maybe something like this will work: list(REMOVE_ITEM lib_srcs “IlmImf/b44ExpLogTable.cpp”)