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

Change CMake minimum version to 3.14.0 #18

Open
triuk opened this issue Nov 20, 2022 · 1 comment
Open

Change CMake minimum version to 3.14.0 #18

triuk opened this issue Nov 20, 2022 · 1 comment

Comments

@triuk
Copy link

triuk commented Nov 20, 2022

As the title says, I suggest changing the line at CMakeFiles.txt to:
cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR)
to avoid the OpenGL find_package warning during configuration.

@rajkundu
Copy link
Collaborator

Which OpenGL find_package warnings are you getting, and what system are you on? I'm on macOS 12.5 with Intel and I don't see any warnings. Here is my VS Code output:

[main] Configuring folder: imgui-vtk 
[proc] Executing command: /usr/local/bin/cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ -S/Users/raj/code/imgui-vtk -B/Users/raj/code/imgui-vtk/build -G "Unix Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Found gl3w source files
[cmake] -- Including Cocoa support
[cmake] -- VTK Version: 9.2.2
[cmake] -- Configuring done
[cmake] -- Generating done
[cmake] -- Build files have been written to: /Users/raj/code/imgui-vtk/build

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