mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
assimp: Update include path
This changes the Assimp include path to point to the directory containing assimp/ instead of inside assimp/ directly. This is for consistency with how the Assimp project defines their "include path" and keeps the actual inclusions themselves unambiguous (since Assimp's headers have fairly generic filenames).
This commit is contained in:
parent
37e265cb63
commit
29beb0f043
@ -683,7 +683,7 @@ if (COMPILER == "MSVC"):
|
||||
path = GetThirdpartyDir() + "assimp/lib/IrrXML.lib"
|
||||
if os.path.isfile(path):
|
||||
LibName("ASSIMP", GetThirdpartyDir() + "assimp/lib/IrrXML.lib")
|
||||
IncDirectory("ASSIMP", GetThirdpartyDir() + "assimp/include/assimp")
|
||||
IncDirectory("ASSIMP", GetThirdpartyDir() + "assimp/include")
|
||||
if (PkgSkip("SQUISH")==0):
|
||||
if GetOptimize() <= 2:
|
||||
LibName("SQUISH", GetThirdpartyDir() + "squish/lib/squishd.lib")
|
||||
@ -828,7 +828,7 @@ if (COMPILER=="GCC"):
|
||||
SmartPkgEnable("EIGEN", "eigen3", (), ("Eigen/Dense",), target_pkg = 'ALWAYS')
|
||||
SmartPkgEnable("ARTOOLKIT", "", ("AR"), "AR/ar.h")
|
||||
SmartPkgEnable("FCOLLADA", "", ChooseLib(fcollada_libs, "FCOLLADA"), ("FCollada", "FCollada/FCollada.h"))
|
||||
SmartPkgEnable("ASSIMP", "", ("assimp"), "assimp")
|
||||
SmartPkgEnable("ASSIMP", "", ("assimp"), "assimp/Importer.hpp")
|
||||
SmartPkgEnable("FFMPEG", ffmpeg_libs, ffmpeg_libs, ("libavformat/avformat.h", "libavcodec/avcodec.h", "libavutil/avutil.h"))
|
||||
SmartPkgEnable("SWSCALE", "libswscale", "libswscale", ("libswscale/swscale.h"), target_pkg = "FFMPEG", thirdparty_dir = "ffmpeg")
|
||||
SmartPkgEnable("SWRESAMPLE","libswresample", "libswresample", ("libswresample/swresample.h"), target_pkg = "FFMPEG", thirdparty_dir = "ffmpeg")
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "pandaIOSystem.h"
|
||||
#include "pandaLogger.h"
|
||||
|
||||
#include "postprocess.h"
|
||||
#include <assimp/postprocess.h>
|
||||
|
||||
using std::ostringstream;
|
||||
using std::stringstream;
|
||||
|
@ -20,8 +20,8 @@
|
||||
#include "texture.h"
|
||||
#include "pmap.h"
|
||||
|
||||
#include "scene.h"
|
||||
#include "Importer.hpp"
|
||||
#include <assimp/scene.h>
|
||||
#include <assimp/Importer.hpp>
|
||||
|
||||
class Character;
|
||||
class CharacterJointBundle;
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include "config_assimp.h"
|
||||
|
||||
#include "IOStream.hpp"
|
||||
#include <assimp/IOStream.hpp>
|
||||
|
||||
class PandaIOSystem;
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "config_assimp.h"
|
||||
#include "virtualFileSystem.h"
|
||||
|
||||
#include "IOSystem.hpp"
|
||||
#include <assimp/IOSystem.hpp>
|
||||
|
||||
/**
|
||||
* Custom implementation of Assimp::IOSystem.
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include "pandaLogger.h"
|
||||
|
||||
#include "DefaultLogger.hpp"
|
||||
#include <assimp/DefaultLogger.hpp>
|
||||
|
||||
PandaLogger *PandaLogger::_ptr = nullptr;
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include "config_assimp.h"
|
||||
|
||||
#include "Logger.hpp"
|
||||
#include <assimp/Logger.hpp>
|
||||
|
||||
/**
|
||||
* Custom implementation of Assimp::Logger. It simply wraps around the
|
||||
|
Loading…
x
Reference in New Issue
Block a user