Files
solidity/libsolutil
Jun Zhang 74a38fc3d8 Fix incorrect CMAKE_SOURCE_DIR usage
When using solidity as a third-party library (include it into our
project using FetchContent), we encountered a strange compilation error.
For some reason, cmake considers the root directory of the project as
the root directory of the dependency (solidity). This is because
solidity is incorrectly using CMAKE_SOURCE_DIR variable, which should be
PROJECT_SOURCE_DIR (The former one refers to the top-level source
directory that contains a CMakeLists.txt, while the latter refers to the
source directory of the most recent project() command)

I've created a repo for demonstration (https://github.com/junaire/test-solidity-fetch-content)

Signed-off-by: Jun Zhang <jun@junz.org>
2023-06-08 19:17:34 +08:00
..
2023-02-04 16:22:18 +01:00
2023-01-12 10:37:29 +01:00
2021-07-15 15:24:12 +02:00
2023-04-20 20:01:45 +02:00
2022-03-08 00:09:17 -05:00
2022-11-01 12:49:22 +01:00
2021-06-07 12:53:18 -04:00
2022-06-15 11:14:50 +02:00
2020-12-10 21:03:58 +00:00
2023-01-12 10:37:29 +01:00
2021-01-12 14:28:27 +01:00
2022-04-26 01:52:56 +02:00