mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
CMake: Fix compile error due to missing -lm
for deploy-stub
This commit is contained in:
parent
e1b4083d6d
commit
f258442b77
@ -18,6 +18,7 @@ elseif(IS_LINUX OR IS_FREEBSD)
|
||||
INSTALL_RPATH "$ORIGIN"
|
||||
BUILD_WITH_INSTALL_RPATH ON)
|
||||
target_link_options(deploy-stub PRIVATE -Wl,--disable-new-dtags -Wl,-z,origin -rdynamic)
|
||||
target_link_libraries(deploy-stub m)
|
||||
endif()
|
||||
|
||||
target_link_libraries(deploy-stub Python::Python)
|
||||
|
Loading…
x
Reference in New Issue
Block a user