Skip to content

Commit

Permalink
fix: loongarch64 disable compile unit test binaries
Browse files Browse the repository at this point in the history
loongarch64 dont compile unit-test

Log: loongarch64 disable compile unit test binaries
  • Loading branch information
mhduiy committed Jun 24, 2024
1 parent b594369 commit 1f3c882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ add_subdirectory(styleplugins)
if(CMAKE_BUILD_TYPE_LOWER STREQUAL debug)
add_subdirectory(styles)
endif()
if(BUILD_TESTS)
if(BUILD_TESTS AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch")
add_subdirectory(tests)
endif()

0 comments on commit 1f3c882

Please sign in to comment.