Skip to content

Commit ac320d8

Browse files
authored
Fix build on FreeBSD/powerpc64le
FreeBSD uses powerpc64le name for 64-bit POWER on little endian.
1 parent 9425386 commit ac320d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
77
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
88
set(ENABLE_IBM OFF)
99

10-
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc64le")
10+
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(powerpc64le|ppc64le)")
1111
set(ENABLE_IBM ON)
1212
endif()
1313

0 commit comments

Comments
 (0)