summaryrefslogtreecommitdiffstats
path: root/lib/tolua++
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-20 14:51:33 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-20 14:51:33 +0100
commitbc2d23550c21c940e86a5329867bc79f29b42f70 (patch)
tree6d81ca602f6d0df518a5bdfe590e932fc640561c /lib/tolua++
parentRevert "fixed bad reference to math library" (diff)
downloadcuberite-bc2d23550c21c940e86a5329867bc79f29b42f70.tar
cuberite-bc2d23550c21c940e86a5329867bc79f29b42f70.tar.gz
cuberite-bc2d23550c21c940e86a5329867bc79f29b42f70.tar.bz2
cuberite-bc2d23550c21c940e86a5329867bc79f29b42f70.tar.lz
cuberite-bc2d23550c21c940e86a5329867bc79f29b42f70.tar.xz
cuberite-bc2d23550c21c940e86a5329867bc79f29b42f70.tar.zst
cuberite-bc2d23550c21c940e86a5329867bc79f29b42f70.zip
Diffstat (limited to 'lib/tolua++')
-rw-r--r--lib/tolua++/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tolua++/CMakeLists.txt b/lib/tolua++/CMakeLists.txt
index b27e9f67b..9a84c05b2 100644
--- a/lib/tolua++/CMakeLists.txt
+++ b/lib/tolua++/CMakeLists.txt
@@ -19,8 +19,7 @@ add_library(tolualib ${LIB_SOURCE})
#m is the standard math librarys
if(UNIX)
-find_library(M_LIB m)
-target_link_libraries(${M_LIB})
+target_link_libraries(m)
endif()
target_link_libraries(tolua lua tolualib)