open-license-manager / licensecc

Software licensing, copy protection in C++. It has few dependencies and it's cross-platform.
http://open-license-manager.github.io/licensecc/
BSD 3-Clause "New" or "Revised" License
947 stars 300 forks source link

Cmake error - Can't find license_generator.cmake #159

Open LilianKBayro opened 7 months ago

LilianKBayro commented 7 months ago

I'm trying to compile licensecc on Windows. Boost folder is found correctly but I get the "can't find lccgen" warning when running Cmake, so I tried giving the location of the license-generator folder :

cmake .. -G "Visual Studio 16 2019" -Dlccgen_DIR=C:\Users\Lilian.cabe\AYRO\licensecc\extern\license-generator\cmake

I then get following error :

CMake Error at extern/license-generator/cmake/lccgen-config.cmake:4 (include):
  include could not find requested file:

    C:/Users/Lilian.cabe/AYRO/licensecc/extern/license-generator/cmake/license_generator.cmake
Call Stack (most recent call first):
  cmake/Findlccgen.cmake:60 (find_package)
  CMakeLists.txt:31 (find_package)

I don't really understand how license_generator is supposed to be found as there is no file refering to it. Am I doing something wrong ?

Thanks in advance