summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2010-09-30 04:33:16 +0200
committerPeter Drahoš <drahosp@gmail.com>2010-09-30 04:33:16 +0200
commitfa22ae73d40f57147f69b6c7f426e65213ce044d (patch)
treeed7ce9aaee4617110617a86f43befb11d52eeca4
parent0a6d2ee18063746ba9fcc345174e884a87d57da2 (diff)
downloadlua-fa22ae73d40f57147f69b6c7f426e65213ce044d.tar.gz
dll on Windows should be installed correctly now.
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7684cc3..aec7a70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,8 +61,7 @@ TARGET_LINK_LIBRARIES ( lua liblua )
TARGET_LINK_LIBRARIES ( luac liblua_static )
# Install
-INSTALL ( TARGETS lua luac RUNTIME DESTINATION ${INSTALL_BIN} )
-INSTALL ( TARGETS liblua DESTINATION ${INSTALL_LIB} )
+INSTALL ( TARGETS lua luac liblua RUNTIME DESTINATION ${INSTALL_BIN} LIBRARY DESTINATION ${INSTALL_LIB} )
INSTALL ( FILES src/lua.h src/luaconf.h src/lualib.h src/lauxlib.h etc/lua.hpp DESTINATION ${INSTALL_INC} )
INSTALL ( FILES etc/strict.lua DESTINATION ${INSTALL_LMOD} )
INSTALL ( DIRECTORY doc etc test DESTINATION ${INSTALL_DATA} PATTERN ".git" EXCLUDE )