update cmakelists

This commit is contained in:
2021-09-10 13:45:32 +08:00
parent 4da9ec4351
commit a7f63525de
3 changed files with 4 additions and 3 deletions

View File

@@ -39,6 +39,7 @@ target_link_libraries(magtess PUBLIC ${OpenBLAS_LIBRARIES})
target_link_libraries(magtess_static ${OpenBLAS_LIBRARIES})
if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
target_link_libraries(magtess PUBLIC m)
target_link_libraries(magtess PUBLIC openblas)
endif()
set(CONFIG_FILE_PATH lib/cmake/${PROJECT_NAME})