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
..
Algorithms.h
AnsiColorized.h
Assertions.h
CMakeLists.txt Fix incorrect CMAKE_SOURCE_DIR usage 2023-06-08 19:17:34 +08:00
Common.h libsolutil: Add missing include 2023-02-04 16:22:18 +01:00
CommonData.cpp
CommonData.h Update CI ubuntu version to 2204 2023-01-12 10:37:29 +01:00
CommonIO.cpp
CommonIO.h
cxx20.h
ErrorCodes.h
Exceptions.cpp
Exceptions.h Add solRequire() 2023-04-20 20:01:45 +02:00
FixedHash.h
FunctionSelector.h
IndentedWriter.cpp
IndentedWriter.h
IpfsHash.cpp
IpfsHash.h
JSON.cpp
JSON.h De-macro helpers. 2022-11-01 12:49:22 +01:00
Keccak256.cpp
Keccak256.h
LazyInit.h
LEB128.h
Numeric.cpp
Numeric.h Allow support for older boost and adjust docs 2023-01-18 10:51:14 +01:00
picosha2.h
Result.h
SetOnce.h
StackTooDeepString.h
StringUtils.cpp changed output of formatNumberReadable so that it shows powers of two and one-less-than powers of two in a more compact format 2022-11-14 17:37:38 +01:00
StringUtils.h Remove the inaccurate Type::categoryName() and change the error message for invalid calls to one independent of the category 2023-04-20 13:50:22 +02:00
SwarmHash.cpp
SwarmHash.h
TemporaryDirectory.cpp Allow running Eldarica from the command line 2022-11-22 21:16:45 +01:00
TemporaryDirectory.h Allow running Eldarica from the command line 2022-11-22 21:16:45 +01:00
UTF8.cpp
UTF8.h
vector_ref.h Update CI ubuntu version to 2204 2023-01-12 10:37:29 +01:00
Views.h
Visitor.h
Whiskers.cpp Updated Whiskers for checking invalid tags 2022-09-29 07:36:29 +05:30
Whiskers.h Updated Whiskers for checking invalid tags 2022-09-29 07:36:29 +05:30