Skip to content

Commit

Permalink
Link libm
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Jan 27, 2024
1 parent 946c03c commit 016a2bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Modelica/Resources/BuildProjects/CMake/test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ if(BUILD_TESTING)
else()
target_link_libraries(Test${TEST} z)
endif()
if(UNIX)
target_link_libraries(Test${TEST} m)
endif()
add_test(NAME Test${TEST} COMMAND Test${TEST} WORKING_DIRECTORY "${ABSOLUTE_MODELICA_TEST_SOURCE_DIR}")
endforeach()
else()
Expand Down

0 comments on commit 016a2bf

Please sign in to comment.