diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 18:21:29 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 18:21:29 +0100 |
commit | cb9f30d4eed9a9ad8564104c751884eea1ee787d (patch) | |
tree | 6d81ca602f6d0df518a5bdfe590e932fc640561c /lib | |
parent | modified travis CI file for cmake (diff) | |
parent | fixed include paths on windows and added build dir to gitignore (diff) | |
download | cuberite-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.txt | 6 |
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) |