fixed bad reference to math library
parent
0836e5e660
commit
c2167d7ed7
|
@ -19,8 +19,8 @@ add_library(tolualib ${LIB_SOURCE})
|
|||
|
||||
#m is the standard math librarys
|
||||
if(UNIX)
|
||||
find_library(M_LIB m)
|
||||
target_link_libraries(${M_LIB})
|
||||
add_library(math STATIC IMPORTED)
|
||||
target_link_libraries(tolua math)
|
||||
endif()
|
||||
|
||||
target_link_libraries(tolua lua tolualib)
|
||||
|
|
Loading…
Reference in New Issue