diff --git a/Modules/SceneSerialization/files.cmake b/Modules/SceneSerialization/files.cmake index fd6ce7e1fa..297b746090 100644 --- a/Modules/SceneSerialization/files.cmake +++ b/Modules/SceneSerialization/files.cmake @@ -1,5 +1,8 @@ - -file(GLOB_RECURSE SRCS *.cpp) +# Do not glob files in the Testing directory +file(GLOB SRCS + *.cpp + BaseDataSerializer/*.cpp + ) set(CPP_FILES ${SRCS}) diff --git a/Modules/SceneSerializationBase/files.cmake b/Modules/SceneSerializationBase/files.cmake index 585af10d11..43c4280eea 100644 --- a/Modules/SceneSerializationBase/files.cmake +++ b/Modules/SceneSerializationBase/files.cmake @@ -1,4 +1,9 @@ -file(GLOB_RECURSE SRCS *.cpp) +# Do not glob files in the Testing directory +file(GLOB SRCS + *.cpp + BasePropertyDeserializer/*.cpp + BasePropertySerializer/*.cpp + ) set(CPP_FILES ${SRCS})