diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 20:08:13 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 20:08:13 +0000 |
commit | 110dbb673e83af7fc7c7248fcf5f0e4383c04303 (patch) | |
tree | 7918b11555602b7a84a9ffe72971bd1f8f077ae9 /src/CMakeLists.txt | |
parent | bd2cb095aa686c3bf0f662c0029687645142ea9e (diff) |
Final modifications to Autotools build system to work alongside CMake build system. CMake build system will only allow out-of-source building now. Removed all old NMake Makefiles for Windows to focus on use of CMake on Windows (it's not as important to require the old system on Windows like it is on *nix).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1878 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) |