mirror of
https://github.com/cuberite/cuberite.git
synced 2025-01-09 04:19:26 +08:00
fixed bad reference to math library
This commit is contained in:
parent
cb9f30d4ee
commit
0836e5e660
@ -19,7 +19,8 @@ add_library(tolualib ${LIB_SOURCE})
|
||||
|
||||
#m is the standard math librarys
|
||||
if(UNIX)
|
||||
target_link_libraries(m)
|
||||
find_library(M_LIB m)
|
||||
target_link_libraries(${M_LIB})
|
||||
endif()
|
||||
|
||||
target_link_libraries(tolua lua tolualib)
|
||||
|
Loading…
Reference in New Issue
Block a user