From 345481a4754e8d26e6a1cc06035db4e566ec9fa0 Mon Sep 17 00:00:00 2001 From: xantares Date: Mon, 22 Dec 2014 19:12:41 +0100 Subject: [PATCH] do not guess mingw include/link dirs let cmake do the job as we dont want mingw headers to conflict with system headers and libs, they are provided in a separate tree --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cdd8eafb5..56d07e7d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,8 +156,6 @@ endif(CMAKE_SYSTEM MATCHES "SunOS") if (CMAKE_COMPILER_IS_MINGW) add_definitions(-DWC_NO_BEST_FIT_CHARS=0x400 -DPOCO_WIN32_UTF8) add_definitions(-mno-cygwin -D_WIN32 -DMINGW32 -DWINVER=0x500 -DODBCVER=0x0300 -DPOCO_THREAD_STACK_SIZE -DFoundation_Config_INCLUDED ) - link_directories(/usr/local/lib /usr/lib) - include_directories(/usr/local/include /usr/include) endif (CMAKE_COMPILER_IS_MINGW) if (CYGWIN)