testrunner linker fix
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-12-12 16:26:51 -05:00
parent 46ac3448e3
commit 27fe4e12a5

View File

@ -63,7 +63,7 @@ target_compile_options(test_runner PRIVATE -m64 -mavx -mavx2)
#portably link math library
find_library(MATH_LIBRARY m)
if(MATH_LIBRARY)
target_link_libraries(MyTarget PUBLIC ${MATH_LIBRARY})
target_link_libraries(test_runner PUBLIC ${MATH_LIBRARY})
endif()
# make test runner depend on library