summaryrefslogtreecommitdiffstats
path: root/lib/tolua++/CMakeLists.txt
diff options
context:
space:
mode:
authortycho <tycho@hanoverdesktop>2013-12-20 01:22:06 +0100
committertycho <tycho@hanoverdesktop>2013-12-20 01:22:06 +0100
commitc7d766bbcc2594e9925c47d9a00141c0cff594c1 (patch)
treea55b135ae0aa8b71bcd7fe48d36e1d86e40dd86f /lib/tolua++/CMakeLists.txt
parentMerge branch 'cmake' of github.com:worktycho/MCServer into cmake (diff)
downloadcuberite-c7d766bbcc2594e9925c47d9a00141c0cff594c1.tar
cuberite-c7d766bbcc2594e9925c47d9a00141c0cff594c1.tar.gz
cuberite-c7d766bbcc2594e9925c47d9a00141c0cff594c1.tar.bz2
cuberite-c7d766bbcc2594e9925c47d9a00141c0cff594c1.tar.lz
cuberite-c7d766bbcc2594e9925c47d9a00141c0cff594c1.tar.xz
cuberite-c7d766bbcc2594e9925c47d9a00141c0cff594c1.tar.zst
cuberite-c7d766bbcc2594e9925c47d9a00141c0cff594c1.zip
Diffstat (limited to 'lib/tolua++/CMakeLists.txt')
-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)