From 967d54992153841b116914f481ce20a596a7eb75 Mon Sep 17 00:00:00 2001 From: ethdev Date: Fri, 12 Dec 2014 11:21:39 +0100 Subject: [PATCH] all_build is working on windows --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33f1052bb..c57d11e89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,7 +154,7 @@ if (NOT LANGUAGES) endif () # TODO check msvc - if(NOT ("${TARGET_PLATFORM}" STREQUAL "w64")) + if(NOT ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")) add_subdirectory(neth) endif () @@ -164,11 +164,6 @@ if (NOT LANGUAGES) #endif() if (NOT HEADLESS) - - # TODO move that somewhere else! - if ("${TARGET_PLATFORM}" STREQUAL "w64") - cmake_policy(SET CMP0020 NEW) - endif () add_subdirectory(libjsqrc) add_subdirectory(libqethereum)