equal
deleted
inserted
replaced
6 IF(POLICY CMP0012) |
6 IF(POLICY CMP0012) |
7 cmake_policy(SET CMP0012 NEW) |
7 cmake_policy(SET CMP0012 NEW) |
8 ENDIF() |
8 ENDIF() |
9 |
9 |
10 #detect subversion revision (if present) |
10 #detect subversion revision (if present) |
11 set(version_suffix "-dev") #UNSET THIS VARIABLE AT RELEASE TIME |
11 #set(version_suffix "-dev") #UNSET THIS VARIABLE AT RELEASE TIME |
12 IF(version_suffix MATCHES "-dev") |
12 IF(version_suffix MATCHES "-dev") |
13 set(HW_DEV true) |
13 set(HW_DEV true) |
14 IF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.hg) |
14 IF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.hg) |
15 FIND_PROGRAM(HGCOMMAND hg) |
15 FIND_PROGRAM(HGCOMMAND hg) |
16 IF(HGCOMMAND) |
16 IF(HGCOMMAND) |