summaryrefslogtreecommitdiffstats
path: root/CMake/Fixups.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/Fixups.cmake')
-rw-r--r--CMake/Fixups.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/Fixups.cmake b/CMake/Fixups.cmake
index 374196d09..f8f616254 100644
--- a/CMake/Fixups.cmake
+++ b/CMake/Fixups.cmake
@@ -2,7 +2,7 @@ function(emit_fixups)
# TODO these should be in the submodules
# Under Windows, we need Lua as DLL; on *nix we need it linked statically:
if (WIN32)
- target_compile_definitions(lua PUBLIC LUA_BUILD_AS_DLL)
+ target_compile_definitions(lualib PUBLIC LUA_BUILD_AS_DLL)
endif()
# Let Lua use additional checks on its C API. This is only compiled into Debug builds: