1
0
Fork 0

fixed bad reference to math library

This commit is contained in:
Tycho Bickerstaff 2013-12-20 13:21:58 +00:00
parent cb9f30d4ee
commit 0836e5e660
1 changed files with 2 additions and 1 deletions

View File

@ -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)