mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
LibTest: Move declaration of JS main target around to avoid CMake bug
For some reason, with CMake 4.0.3 and the Swift language enabled, this target was getting random tokens in the compile commands. Moving it up to the top of the file seems to fix this.
This commit is contained in:
parent
a0b902cca1
commit
fa003fb2b0
Notes:
github-actions[bot]
2025-07-09 22:28:08 +00:00
Author: https://github.com/ADKaster
Commit: fa003fb2b0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5376
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
|||
add_library(LibTestMain OBJECT TestMain.cpp AssertionHandler.cpp)
|
||||
|
||||
target_link_libraries(LibTestMain PUBLIC GenericClangPlugin)
|
||||
|
||||
add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
|
||||
|
||||
set(SOURCES
|
||||
TestSuite.cpp
|
||||
)
|
||||
|
@ -10,5 +11,3 @@ add_library(LibTest ${SOURCES})
|
|||
lagom_generate_export_header(LibTest test)
|
||||
target_link_libraries(LibTest PRIVATE AK LibCore LibFileSystem)
|
||||
set_target_properties(LibTest PROPERTIES OUTPUT_NAME lagom-test)
|
||||
|
||||
add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue