Jeroen Janssen wrote:
> Hi,
> 
> If I remember correctly you need to define NDEBUG to disable the assert macro.
> Probably Visual Studio defaults to adding the NDEBUG define to the
> Release builds itself.
> 
> Best regards,
> 

Under linux the release mode (CMAKE_BUILD_TYPE=release) defines NDEBUG
-- 
Filipe Sousa

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to