From 087210302f1a8e804d45cdac71135b4c60f3b406 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 25 Apr 2014 23:45:16 +0200 Subject: [PATCH] Updated MSVC side of CMake files after recent changes. --- lib/expat/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/expat/CMakeLists.txt b/lib/expat/CMakeLists.txt index 540266377..a23f16609 100644 --- a/lib/expat/CMakeLists.txt +++ b/lib/expat/CMakeLists.txt @@ -7,10 +7,8 @@ file(GLOB SOURCE "*.h" ) -# add headers to MSVC project files: -if (WIN32) - file(GLOB HEADERS "*.h") - set(SOURCE ${SOURCE} ${HEADERS}) +# Set files to go to a "Sources" folder in MSVC project files: +if (MSVC) source_group("Sources" FILES ${SOURCE}) endif()