Squadrick / shadesmar

Fast C++ IPC using shared memory
MIT License
555 stars 85 forks source link

cannot complie lib on windows and linux platform with CMakeLists.txt #62

Closed SccotMu closed 1 year ago

SccotMu commented 2 years ago

here is the errors log in windows :

**CMake Error at CMakeLists.txt:9 (find_package): By not providing "Findbenchmark.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "benchmark", but CMake did not find one.

Could not find a package configuration file provided by "benchmark" with any of the following names:

benchmarkConfig.cmake
benchmark-config.cmake

Add the installation prefix of "benchmark" to CMAKE_PREFIX_PATH or set "benchmark_DIR" to a directory containing one of the above files. If "benchmark" provides a separate development package or SDK, be sure it has been installed.**

tan-wei commented 2 years ago

Install benchmark firstly. I think on Windows, you could try vcpkg install benchmark.