You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake reported an error when compiling a project using this repository as a dependency:
CMake Error at include/quickjs/CMakeLists.txt:55 (target_link_libraries):
The plain signature for target_link_libraries has already been used with
the target "qjs". All uses of target_link_libraries with a target must be
either all-keyword or all-plain.
The uses of the plain signature are here:
* include/quickjs/CMakeLists.txt:51 (target_link_libraries)
It seems like the error was caused by this like in CMakeLists.txt, which uses the plain (no PUBLIC/PRIVATE) target_link_libraries statement.
CMake reported an error when compiling a project using this repository as a dependency:
It seems like the error was caused by this like in
CMakeLists.txt
, which uses the plain (noPUBLIC
/PRIVATE
)target_link_libraries
statement.quickjs-build/CMakeLists.txt
Line 51 in a516a78
Changing it to
target_link_libraries(qjs PRIVATE atomic)
seems to fix the problem.Environment:
The text was updated successfully, but these errors were encountered: