diff --git a/CMakeLists.txt b/CMakeLists.txt index 5bacf1ab82..20f5d7961e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -857,13 +857,11 @@ if(WIN32) if(MSVC) # The compiler used is MSVC message(STATUS "Found MSVC compiler: ${MSVC} ${MSVC_VERSION}") set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin/) - elseif (BORLAND) # The compiler used is BORLAND - set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/win${BIT}/bin/${CMAKE_BUILD_TYPE}) else() IF (MINGW) message(STATUS "Found MINGW compiler: ${MINGW}") endif(MINGW) - set(LIBRARY_OUTPUT_PATH win${BIT}/bin/${CMAKE_BUILD_TYPE}) + set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/win${BIT}/bin/${CMAKE_BUILD_TYPE}) endif() set(EXECUTABLE_OUTPUT_PATH ${LIBRARY_OUTPUT_PATH}) else(WIN32)