summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-19 18:21:29 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-19 18:21:29 +0100
commitcb9f30d4eed9a9ad8564104c751884eea1ee787d (patch)
tree6d81ca602f6d0df518a5bdfe590e932fc640561c /lib
parentmodified travis CI file for cmake (diff)
parentfixed include paths on windows and added build dir to gitignore (diff)
downloadcuberite-cb9f30d4eed9a9ad8564104c751884eea1ee787d.tar
cuberite-cb9f30d4eed9a9ad8564104c751884eea1ee787d.tar.gz
cuberite-cb9f30d4eed9a9ad8564104c751884eea1ee787d.tar.bz2
cuberite-cb9f30d4eed9a9ad8564104c751884eea1ee787d.tar.lz
cuberite-cb9f30d4eed9a9ad8564104c751884eea1ee787d.tar.xz
cuberite-cb9f30d4eed9a9ad8564104c751884eea1ee787d.tar.zst
cuberite-cb9f30d4eed9a9ad8564104c751884eea1ee787d.zip
Diffstat (limited to 'lib')
-rw-r--r--lib/tolua++/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tolua++/CMakeLists.txt b/lib/tolua++/CMakeLists.txt
index 877b89076..9a84c05b2 100644
--- a/lib/tolua++/CMakeLists.txt
+++ b/lib/tolua++/CMakeLists.txt
@@ -18,4 +18,8 @@ add_executable(tolua ${BIN_SOURCE})
add_library(tolualib ${LIB_SOURCE})
#m is the standard math librarys
-target_link_libraries(tolua lua m tolualib)
+if(UNIX)
+target_link_libraries(m)
+endif()
+
+target_link_libraries(tolua lua tolualib)