summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-25 23:45:16 +0200
committermadmaxoft <github@xoft.cz>2014-04-25 23:45:16 +0200
commit087210302f1a8e804d45cdac71135b4c60f3b406 (patch)
treefe279bbb616c44adba23f7df5e64f480ad5a8a09
parentMerge pull request #935 from archshift/projectile-fixes (diff)
downloadcuberite-087210302f1a8e804d45cdac71135b4c60f3b406.tar
cuberite-087210302f1a8e804d45cdac71135b4c60f3b406.tar.gz
cuberite-087210302f1a8e804d45cdac71135b4c60f3b406.tar.bz2
cuberite-087210302f1a8e804d45cdac71135b4c60f3b406.tar.lz
cuberite-087210302f1a8e804d45cdac71135b4c60f3b406.tar.xz
cuberite-087210302f1a8e804d45cdac71135b4c60f3b406.tar.zst
cuberite-087210302f1a8e804d45cdac71135b4c60f3b406.zip
Diffstat (limited to '')
-rw-r--r--lib/expat/CMakeLists.txt6
1 files 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()