File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2020endif ()
2121
2222if (WIN32 )
23- target_compile_definitions (lua51 PUBLIC -DLUA_BUILD_AS_DLL)
23+ if (LUA_BUILD_AS_DLL)
24+ target_compile_definitions (lua51 PUBLIC -DLUA_BUILD_AS_DLL)
25+ endif ()
2426else ()
2527 target_compile_options (lua51 PUBLIC -fPIC)
2628endif (WIN32 )
Original file line number Diff line number Diff line change 2020endif ()
2121
2222if (WIN32 )
23- target_compile_definitions (lua53 PUBLIC -DLUA_BUILD_AS_DLL)
23+ if (LUA_BUILD_AS_DLL)
24+ target_compile_definitions (lua53 PUBLIC -DLUA_BUILD_AS_DLL)
25+ endif ()
2426else ()
2527 target_compile_options (lua53 PUBLIC -fPIC)
2628endif (WIN32 )
Original file line number Diff line number Diff line change 2020endif ()
2121
2222if (WIN32 )
23- target_compile_definitions (lua54 PUBLIC -DLUA_BUILD_AS_DLL)
23+ if (LUA_BUILD_AS_DLL)
24+ target_compile_definitions (lua54 PUBLIC -DLUA_BUILD_AS_DLL)
25+ endif ()
2426else ()
2527 target_compile_options (lua54 PUBLIC -fPIC)
2628endif (WIN32 )
You can’t perform that action at this time.
0 commit comments