Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake error with older cmakes on FMT 7.0 #1779

Closed
phlptp opened this issue Jul 16, 2020 · 1 comment
Closed

cmake error with older cmakes on FMT 7.0 #1779

phlptp opened this issue Jul 16, 2020 · 1 comment

Comments

@phlptp
Copy link

phlptp commented Jul 16, 2020

I am getting some errors on older CMake when using FMT as a subproject

CMake Error at dependencies/cmake/share/cmake-3.4/Modules/CMakeParseArguments.cmake:147 (set):
  set given invalid arguments for CACHE mode.
Call Stack (most recent call first):
  ThirdParty/fmtlib/CMakeLists.txt:31 (cmake_parse_arguments)
  ThirdParty/fmtlib/CMakeLists.txt:49 (set_verbose)
CMake Error at ThirdParty/fmtlib/CMakeLists.txt:33 (list):
  list sub-command REMOVE_AT requires list to be present.
Call Stack (most recent call first):
  ThirdParty/fmtlib/CMakeLists.txt:49 (set_verbose)

Specifically CMake 3.4 with gcc 4.9
I tried a few things to bypass it but didn't work so far. For the moment I am reverting back to 6.2.

This seems to have been introduced in #1702

@vitaut
Copy link
Contributor

vitaut commented Jul 17, 2020

cmake_parse_arguments is broken in CMake 3.4 but I implemented a workaround in 1802485. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants