From d9520726ae3d49861e2c6734b7f2c5cbd694d2c0 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 10 Feb 2014 15:01:21 +0000 Subject: [PATCH] Minor Windows fix. --- alethzero/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/alethzero/CMakeLists.txt b/alethzero/CMakeLists.txt index a8a12d312..32495ecf1 100644 --- a/alethzero/CMakeLists.txt +++ b/alethzero/CMakeLists.txt @@ -1,5 +1,8 @@ cmake_policy(SET CMP0015 NEW) -#cmake_policy(SET CMP0020 NEW) + +if ("${TARGET_PLATFORM}" STREQUAL "w64") + cmake_policy(SET CMP0020 NEW) +endif () set(CMAKE_INCLUDE_CURRENT_DIR ON) aux_source_directory(. SRC_LIST)