Skip to content

Commit 97f5d3e

Browse files
Disable IPO on Windows
1 parent 1ecd32c commit 97f5d3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ FetchContent_Declare(
3838
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.11.1.tar.gz
3939
URL_HASH SHA256=d475978da0cdc2d43b73f30910786759d593a9d8ee05b1b6846d1eb16c6d2e0c
4040
)
41+
if (WIN32)
42+
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION FALSE)
43+
endif()
4144
FetchContent_MakeAvailable(pybind11)
4245

4346
add_subdirectory(dpctl)

0 commit comments

Comments
 (0)