-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[glm] Modernization #29314
[glm] Modernization #29314
Conversation
xiaozhuai
commented
Jan 31, 2023
- Modernization
- Add license
The usage test failed, the details are as follows: 1)Configure CMake project:
CMakeProject42.cpp
CMakeLists.txtcmake_minimum_required (VERSION 3.8) |
This is odd, is ok on my machine. cmake_minimum_required(VERSION 3.24)
project(test_glm)
set(CMAKE_CXX_STANDARD 14)
find_package(glm CONFIG REQUIRED)
add_executable(test_glm main.cpp)
target_link_libraries(test_glm PRIVATE glm::glm) #include <iostream>
#include <glm/common.hpp>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
} |
Maybe your CMAKE_TOOLCHAIN_FILE is not set correctly? |
glm has some downstream port, If this error occured, CI wouldn't pass. |
I deleted the cache and re-authenticated it successfully.
Build:
|
Thanks for the modernization! |