diff --git a/cmake/OpenMWMacros.cmake b/cmake/OpenMWMacros.cmake index edda9af19..8263763a2 100644 --- a/cmake/OpenMWMacros.cmake +++ b/cmake/OpenMWMacros.cmake @@ -2,7 +2,7 @@ macro (add_openmw_dir dir) set (files) foreach (u ${ARGN}) -list (APPEND files "${dir}/${u}") +list (APPEND files "${dir}/${u}.*") list (APPEND OPENMW_FILES "${dir}/${u}") endforeach (u) source_group ("apps\\openmw\\${dir}" FILES ${files})