Need to use ASSIMP_BUILD_DEBUG.

pull/3297/head
Malcolm Tyrrell 2020-06-24 11:37:43 +01:00
parent 2977643352
commit edaa8e4a80
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef AI_ASSERT_H_INC #ifndef AI_ASSERT_H_INC
#define AI_ASSERT_H_INC #define AI_ASSERT_H_INC
#if defined(ASSIMP_BUILD_DEBUG) || defined(ASSIMP_BUILD_WITH_ASSERTS) #if defined(ASSIMP_BUILD_DEBUG)
namespace Assimp namespace Assimp
{ {

View File

@ -42,8 +42,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "UnitTestPCH.h" #include "UnitTestPCH.h"
/// Ensure this test has asserts on, even if the build type doesn't have asserts by default. /// Ensure this test has asserts on, even if the build type doesn't have asserts by default.
#if !defined(ASSIMP_BUILD_WITH_ASSERTS) #if !defined(ASSIMP_BUILD_DEBUG)
#define ASSIMP_BUILD_WITH_ASSERTS #define ASSIMP_BUILD_DEBUG
#endif #endif
#include <assimp/ai_assert.h> #include <assimp/ai_assert.h>