From c22b43cc6faa76d4ad0f72f94c5dfe01298f430d Mon Sep 17 00:00:00 2001 From: Oliver Bock <oliver.bock@aei.mpg.de> Date: Thu, 29 Oct 2009 17:51:46 +0100 Subject: [PATCH] Let CMAKE use the compilers already defined --- patches/toolchain-linux-mingw.oglft.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/toolchain-linux-mingw.oglft.cmake b/patches/toolchain-linux-mingw.oglft.cmake index 7be34af..e36e184 100644 --- a/patches/toolchain-linux-mingw.oglft.cmake +++ b/patches/toolchain-linux-mingw.oglft.cmake @@ -2,8 +2,8 @@ SET(CMAKE_SYSTEM_NAME Windows) # which compilers to use for C and C++ -SET(CMAKE_C_COMPILER i586-pc-mingw32-gcc) -SET(CMAKE_CXX_COMPILER i586-pc-mingw32-g++) +SET(CMAKE_C_COMPILER ${CC}) +SET(CMAKE_CXX_COMPILER ${CXX}) # here is the target environment located SET(CMAKE_FIND_ROOT_PATH ${OGLFT_INSTALL}) -- GitLab