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 Aug 21, 2024
1 parent 858484d commit 994e2b1
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 @@ -131,6 +131,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 994e2b1

Please sign in to comment.