diff options
author | Peter Drahoš <drahosp@gmail.com> | 2013-12-01 04:59:32 -0800 |
---|---|---|
committer | Peter Drahoš <drahosp@gmail.com> | 2013-12-01 04:59:32 -0800 |
commit | d30648d142df82039fdf1f9a2cb34f57e2c4d26f (patch) | |
tree | 25550ced8bd2c9d1424dca33ff66bead5efbbc40 | |
parent | ceb92f3d955faa317ce0703e788dcbdaeef81407 (diff) | |
parent | 9922a580fbcb405e8ad8285a52abd7843167a1a5 (diff) | |
download | lua-d30648d142df82039fdf1f9a2cb34f57e2c4d26f.tar.gz |
Merge pull request #6 from biometrics/master
Allow for optional static compilation by overriding BUILD_SHARED_LIBS to OFF
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b025a53..c0a83ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,7 +127,7 @@ endif ( ) ## BUILD # Create lua library -add_library ( liblua SHARED ${SRC_CORE} ${SRC_LIB} ${LUA_DLL_RC} ${LUA_DEF} ) +add_library ( liblua ${SRC_CORE} ${SRC_LIB} ${LUA_DLL_RC} ${LUA_DEF} ) target_link_libraries ( liblua ${LIBS} ) set_target_properties ( liblua PROPERTIES OUTPUT_NAME lua CLEAN_DIRECT_OUTPUT 1 ) if ( LUA_BUILD_AS_DLL ) |