We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e54db3 commit 5eaa2dbCopy full SHA for 5eaa2db
third-party/patches/lua/CMakeLists.txt
@@ -69,7 +69,11 @@ set_target_properties(lua PROPERTIES
69
if (EXISTS "${LUA_ONELUA}")
70
add_executable(lua-bin "${LUA_ONELUA}")
71
set_target_properties(lua-bin PROPERTIES OUTPUT_NAME lua)
72
- target_link_libraries(lua-bin PRIVATE lua m dl)
+ if (WIN32)
73
+ target_link_libraries(lua-bin PRIVATE lua)
74
+ else()
75
+ target_link_libraries(lua-bin PRIVATE lua m dl)
76
+ endif()
77
target_include_directories(lua-bin PRIVATE $<BUILD_INTERFACE:${LUA_SOURCE_DIR}>)
78
install(TARGETS lua-bin RUNTIME DESTINATION "bin")
79
endif()
0 commit comments