Need to use ASSIMP_BUILD_DEBUG.
parent
2977643352
commit
edaa8e4a80
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue