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 on OSX: "STREQUAL" "Debug" Unknown arguments specified #1

Open
tfoldi opened this issue Sep 27, 2023 · 1 comment · May be fixed by #2
Open

CMake error on OSX: "STREQUAL" "Debug" Unknown arguments specified #1

tfoldi opened this issue Sep 27, 2023 · 1 comment · May be fixed by #2

Comments

@tfoldi
Copy link

tfoldi commented Sep 27, 2023

When building on Mac, there is a quotation issue that impacts the Makefile generation.

See related issue at: https://youtrack.jetbrains.com/issue/CPP-253/STREQUAL-Debug-in-CMake-is-not-working

❯ cmake .
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:49 (if):
  if given arguments:

    "STREQUAL" "Debug"

  Unknown arguments specified


-- Configuring incomplete, errors occurred!
See also "/Users/tfoldi/Developer/mobility/clx000-qt5-plugin/CMakeFiles/CMakeOutput.log".
See also "/Users/tfoldi/Developer/mobility/clx000-qt5-plugin/CMakeFiles/CMakeError.log".```
@tfoldi tfoldi linked a pull request Sep 27, 2023 that will close this issue
@M00nBase
Copy link

Hello, I would like to ask if you are able to install this plugin with savvycan?
I just built mine and got the libclx000canbus.so, but after I put it into qt plugin folder, it does not appear in the new connection QT SerialBus Device.

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

Successfully merging a pull request may close this issue.

2 participants