Skip to content

Commit

Permalink
core/CMakeLists.txt: fix math library link
Browse files Browse the repository at this point in the history
  • Loading branch information
erysdren committed Aug 25, 2024
1 parent ea36f66 commit 815caaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 815caaa

Please sign in to comment.