From 815caaa60298912842a5afdc24a8bb435fb2af8f Mon Sep 17 00:00:00 2001 From: erysdren Date: Sun, 25 Aug 2024 01:13:28 -0500 Subject: [PATCH] core/CMakeLists.txt: fix math library link --- core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index ef8c30ef..c40a46af 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -46,7 +46,7 @@ target_link_libraries(brender INTERFACE brender-inc) ## find_library(math_library m) if(UNIX AND math_library) - target_link_libraries(brender INTERFACE m) + target_link_libraries(brender PUBLIC ${math_library}) endif() set_target_properties(brender PROPERTIES