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
|
#m is the standard math librarys
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
target_link_libraries(m)
|
find_library(M_LIB m)
|
||||||
|
target_link_libraries(${M_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(tolua lua tolualib)
|
target_link_libraries(tolua lua tolualib)
|
||||||
|
Loading…
Reference in New Issue
Block a user