CMakeLists.txt
changeset 8089 56bf04303311
parent 8088 55f99b65e795
child 8090 38d9cc60b14c
--- a/CMakeLists.txt	Wed Nov 21 17:57:05 2012 +0400
+++ b/CMakeLists.txt	Wed Nov 21 15:03:33 2012 +0100
@@ -4,7 +4,7 @@
 cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
 cmake_policy(VERSION 2.6)
 FOREACH(hwpolicy CMP0003 CMP0012 CMP0017)
-    IF(POLICY ${policy})
+    IF(POLICY ${hwpolicy})
         CMAKE_POLICY(SET ${hwpolicy} NEW)
     ENDIF()
 ENDFOREACH()