1
0
Fork 0

fixed bad reference to math library

This commit is contained in:
Tycho Bickerstaff 2013-12-20 13:27:38 +00:00
parent 0836e5e660
commit c2167d7ed7
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)
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)