equal
deleted
inserted
replaced
12 foreach(hwpolicy CMP0003 CMP0012 CMP0017) |
12 foreach(hwpolicy CMP0003 CMP0012 CMP0017) |
13 if(POLICY ${hwpolicy}) |
13 if(POLICY ${hwpolicy}) |
14 cmake_policy(SET ${hwpolicy} NEW) |
14 cmake_policy(SET ${hwpolicy} NEW) |
15 endif() |
15 endif() |
16 endforeach() |
16 endforeach() |
17 |
|
18 #use available modules, fallback to ours if not present (CMP0017 helps) |
|
19 set(CMAKE_MODULE_PATH "${CMAKE_ROOT}/Modules" "${CMAKE_SOURCE_DIR}/cmake_modules") |
|
20 |
17 |
21 |
18 |
22 #possible cmake configuration |
19 #possible cmake configuration |
23 option(NOSERVER "Disable gameServer build [default: auto]" OFF) |
20 option(NOSERVER "Disable gameServer build [default: auto]" OFF) |
24 option(NOPNG "Disable screenshoot compression [default: auto]" OFF) |
21 option(NOPNG "Disable screenshoot compression [default: auto]" OFF) |