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 configuration failed on MSYS2 MINGW64 #115

Closed
ghost opened this issue Apr 7, 2023 · 1 comment
Closed

cmake configuration failed on MSYS2 MINGW64 #115

ghost opened this issue Apr 7, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 7, 2023

$ cmake ..
-- Building for: Ninja
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - 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: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
++ Building for windows
++ Compiler identified as GCC
++ Target architecture is X86
CMake Error at CMakeLists.txt:218 (if):
  if given arguments:

    "STREQUAL" "Release"

  Unknown arguments specified


-- Configuring incomplete, errors occurred!
@ghost
Copy link
Author

ghost commented Apr 7, 2023

Add -DCMAKE_BUILD_TYPE=Release and configuration worked.

@ghost ghost closed this as completed Apr 7, 2023
This issue was closed.
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

0 participants