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: Unknown CHECK_C_COMPILER_FLAG #398

Closed
runlevel5 opened this issue Apr 3, 2024 · 0 comments · Fixed by #399
Closed

CMake error: Unknown CHECK_C_COMPILER_FLAG #398

runlevel5 opened this issue Apr 3, 2024 · 0 comments · Fixed by #399

Comments

@runlevel5
Copy link
Contributor

$ cmake --version
cmake version 3.28.2

$ cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_ZLIB=true -DUSE_SYSTEM_OPENAL=true -DUSE_SYSTEM_CURL=true -DUSE_SYSTEM_SDL2=true
CMake Deprecation Warning at extern/glslang/CMakeLists.txt:39 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning (dev) at extern/glslang/CMakeLists.txt:233 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  extern/glslang/CMakeLists.txt:239 (find_host_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Using glslangValidator built from source
CMake Error at src/CMakeLists.txt:399 (CHECK_C_COMPILER_FLAG):
  Unknown CMake command "CHECK_C_COMPILER_FLAG".
Call Stack (most recent call first):
  src/CMakeLists.txt:408 (CCompilerFlagString)
  src/CMakeLists.txt:415 (CCompilerFlagStringAppend)
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.

1 participant