summaryrefslogtreecommitdiffstats
path: root/lib/luaproxy/CMakeLists.txt
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-01 15:23:29 +0200
committerMattes D <github@xoft.cz>2014-07-01 15:23:29 +0200
commitdecdbab2e68427914f3d284acc0f6184719306c0 (patch)
treee49fd45701a13f1da980d4958208fc5f85bca636 /lib/luaproxy/CMakeLists.txt
parentMerge branch 'master' into LuaProxy (diff)
downloadcuberite-decdbab2e68427914f3d284acc0f6184719306c0.tar
cuberite-decdbab2e68427914f3d284acc0f6184719306c0.tar.gz
cuberite-decdbab2e68427914f3d284acc0f6184719306c0.tar.bz2
cuberite-decdbab2e68427914f3d284acc0f6184719306c0.tar.lz
cuberite-decdbab2e68427914f3d284acc0f6184719306c0.tar.xz
cuberite-decdbab2e68427914f3d284acc0f6184719306c0.tar.zst
cuberite-decdbab2e68427914f3d284acc0f6184719306c0.zip
Diffstat (limited to 'lib/luaproxy/CMakeLists.txt')
-rw-r--r--lib/luaproxy/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/luaproxy/CMakeLists.txt b/lib/luaproxy/CMakeLists.txt
index f115036e1..58ca87cd3 100644
--- a/lib/luaproxy/CMakeLists.txt
+++ b/lib/luaproxy/CMakeLists.txt
@@ -23,14 +23,17 @@ if (WIN32)
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} /NOENTRY /DEF:lua5.1.def /MANIFEST:NO")
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} /NOENTRY /DEF:lua5.1.def /MANIFEST:NO")
set(CMAKE_MODULE_LINKER_FLAGS_DEBUG "${CMAKE_MODULE_LINKER_FLAGS_DEBUG} /NOENTRY /DEF:lua5.1.def /MANIFEST:NO")
+ elseif (MINGW)
+ # MinGW requires no further flags and has been tested
else()
- message ("This code has not been tested on your compiler. Please report your success or failure in the forum.")
+ message ("LuaProxy: This cmake code has not been tested on your compiler. Please report your success or failure in the forum.")
endif()
add_library(luaproxy SHARED "lua5.1.def" "Dummy.c")
set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/MCServer)
set_target_properties(luaproxy PROPERTIES
OUTPUT_NAME "lua5.1"
+ PREFIX ""
)
target_link_libraries(luaproxy lua)