diff --git a/CMakeModules/build_lua.cmake b/CMakeModules/build_lua.cmake index 83f62eb..7167874 100644 --- a/CMakeModules/build_lua.cmake +++ b/CMakeModules/build_lua.cmake @@ -33,8 +33,8 @@ ExternalProject_Add( -DCMAKE_C_FLAGS:STRING=${CMAKE_C_FLAGS} -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH= - -DBUILD_SHARED_LIBS=OFF - -DLUA_BUILD_AS_DLL=OFF + -DBUILD_SHARED_LIBS=ON + -DLUA_BUILD_AS_DLL=ON ${byproducts} )