# HG changeset patch # User koda # Date 1362584851 -3600 # Node ID 834e2d3b43d27b2b484a2bbb214de0caee511f76 # Parent 4cccc0520988eaa256683b2ba47a13b5bc795c3f Backed out changeset 4cccc0520988 diff -r 4cccc0520988 -r 834e2d3b43d2 CMakeLists.txt --- a/CMakeLists.txt Wed Mar 06 16:42:56 2013 +0100 +++ b/CMakeLists.txt Wed Mar 06 16:47:31 2013 +0100 @@ -15,6 +15,9 @@ endif() endforeach() +#use available modules, fallback to ours if not present (CMP0017 helps) +set(CMAKE_MODULE_PATH "${CMAKE_ROOT}/Modules" "${CMAKE_SOURCE_DIR}/cmake_modules") + #possible cmake configuration option(NOSERVER "Disable gameServer build [default: auto]" OFF)