From 02a585b5c7b7667d20fcae9a8842b8be6ca9e6a3 Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Tue, 12 Feb 2019 15:57:16 +0800 Subject: [PATCH] add details. test=develop --- cmake/flags.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/flags.cmake b/cmake/flags.cmake index 5895657ece6..36b533aa4f7 100644 --- a/cmake/flags.cmake +++ b/cmake/flags.cmake @@ -27,7 +27,6 @@ endfunction() CheckCompilerCXX11Flag() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64") # safe_set_flag # # Set a compile flag only if compiler is support @@ -148,6 +147,7 @@ set(GPU_COMMON_FLAGS -Wno-error=unused-function # Warnings in Numpy Header. -Wno-error=array-bounds # Warnings in Eigen::array ) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64") endif(NOT WIN32) if (APPLE) -- GitLab