I am trying to make a basic program in C++ with OpenGL in CLion. I have installed glew by brew:
brew install glew
but CLion is not able to find it and giving me this error:
CMakeLists.txt file contains this:
cmake_minimum_required(VERSION 3.12)
project(untitled)
set(CMAKE_CXX_STANDARD 14)
add_executable(untitled main.cpp)
How can I fix it ? Is it error in configuration of CLion or am I missing some packages ?
Thank you for help