[Question] Compile as Release in Linux

How do i change the build configuration to compile as release instead of release with debug information (that is the default), i need to use any specific command in make or cmake, or theres anything i need to change? I tried to change the CMakeLists.txt to release, then it says its in Unix, Release when i execute but the behavior stills as relwithdebinfo as every file still has the debug information attached. I would like to ask how can i compile in Release as i can do in windows by changing it in the visual studio configuration manager. Thanks in advance.