Revert "fixed bad reference to math library"

This reverts commit c2167d7ed7.
master
Tycho Bickerstaff 2013-12-20 13:50:41 +00:00
parent c2167d7ed7
commit efaabb16df
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ add_library(tolualib ${LIB_SOURCE})
#m is the standard math librarys
if(UNIX)
add_library(math STATIC IMPORTED)
target_link_libraries(tolua math)
find_library(M_LIB m)
target_link_libraries(${M_LIB})
endif()
target_link_libraries(tolua lua tolualib)