summaryrefslogtreecommitdiff
path: root/ham/gnuradio-core/patches/patch-cmake_Modules_GrPybind.cmake
blob: fa9feeadbc73137f1ed4efd21c12f77dcc2d106a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-cmake_Modules_GrPybind.cmake,v 1.1 2022/01/16 18:06:25 tnn Exp $

Disable use of precompiled headers; it doesn't play nice with pkgsrc nor ccache.

--- cmake/Modules/GrPybind.cmake.orig	2022-01-14 15:27:04.000000000 +0000
+++ cmake/Modules/GrPybind.cmake
@@ -158,7 +158,7 @@ target_include_directories(${name}_pytho
 # Precompile the pybind11 header
 # This should speed up building of the python bindings at least in larger modules
 # This functionality is only available in CMake >= 3.16
-if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16.0")
+if(false AND ${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16.0")
   target_precompile_headers(
     ${name}_python
     PRIVATE