summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-20 14:50:41 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-20 14:50:41 +0100
commitefaabb16dfe1219f2e51727b5bfac5bba17af78c (patch)
tree336fd0eae18136f641eadaa9b04af817a9bc16d8 /lib
parentfixed bad reference to math library (diff)
downloadcuberite-efaabb16dfe1219f2e51727b5bfac5bba17af78c.tar
cuberite-efaabb16dfe1219f2e51727b5bfac5bba17af78c.tar.gz
cuberite-efaabb16dfe1219f2e51727b5bfac5bba17af78c.tar.bz2
cuberite-efaabb16dfe1219f2e51727b5bfac5bba17af78c.tar.lz
cuberite-efaabb16dfe1219f2e51727b5bfac5bba17af78c.tar.xz
cuberite-efaabb16dfe1219f2e51727b5bfac5bba17af78c.tar.zst
cuberite-efaabb16dfe1219f2e51727b5bfac5bba17af78c.zip
Diffstat (limited to 'lib')
-rw-r--r--lib/tolua++/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tolua++/CMakeLists.txt b/lib/tolua++/CMakeLists.txt
index 637e44d8e..b27e9f67b 100644
--- a/lib/tolua++/CMakeLists.txt
+++ b/lib/tolua++/CMakeLists.txt
@@ -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)