diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 06:57:30 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 06:57:30 +0000 |
commit | 432edbf68f41a3257e421427ee33c6634b030e77 (patch) | |
tree | 8ca9f0ca5d7d9e3074111ce281b2cc30af0bb4e2 /src/CMakeLists.txt | |
parent | f5209be18aa0ca53715aa7bb6244804b3913cfad (diff) |
Merge branch 'cmake'
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1871 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2a8c01d0e..2d6518f5b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,10 @@ set(SRC_SRCS ${SRC_SRCS_C} ${SRC_SRCS_CPP}) if(NOT MSVC) list(REMOVE_ITEM SRC_SRCS win32_memory.cpp) endif(NOT MSVC) +# If not using Windows, don't include windows.cpp, as it's Windows-specific +if(NOT WIN32) + list(REMOVE_ITEM SRC_SRCS windows.cpp) +endif(NOT WIN32) if(CMAKE244_OR_BETTER) list(SORT SRC_SRCS) endif(CMAKE244_OR_BETTER) |