Commit Graph

2 Commits

Author SHA1 Message Date
Ruitard
29fd45c883
[lua] cmake link library is absolute path (#30922)
* [lua] cmake_minimum_required should before project

* [lua] link dl not use absolute path

* [lua] update port-version
2023-04-18 16:58:56 -07:00
Jack·Boos·Yu
32d25e6b85
[lua] Fix library type and usage (#24436)
* [lua] Fix library type and usage

* version

* Use c code in executables

* version

* Apply suggestion

* version

* Add an extra CMakeLists.txt to avoid scope pollution of SET_SOURCE_FILES_PROPERTIES

* version

* Apply suggestions

* version

* Various nitpicks:

* Use "supports" on features rather than if tests plus message FATAL_ERROR
* Deduplicate ENABLE_LUA_CPP and COMPILE_AS_CPP
* Add quotes.
* Use file(INSTALL rather than configure_file(COPYONLY)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-13 15:02:20 -07:00