123456789101112131415 |
- $OpenBSD: patch-cmake_Unix_cmake,v 1.3 2017/03/25 08:39:51 landry Exp $
- - Avoid forced linkage with libstdc++.
- --- cmake/Unix.cmake.orig Thu Mar 23 16:18:04 2017
- +++ cmake/Unix.cmake Fri Mar 24 07:19:31 2017
- @@ -66,6 +66,7 @@ if(ENABLE_RAW)
- if(NOT LIBRAW_FOUND)
- message(FATAL_ERROR "libraw not found. It's mandatory when used with ENABLE_RAW enabled")
- else()
- + list(REMOVE_ITEM LIBRAW_LIBRARIES stdc++)
- add_definitions(-DWITH_LIBRAW)
- endif()
- endif(ENABLE_RAW)
|