|
@@ -45,7 +45,9 @@ INCLUDE_DIRECTORIES(
|
|
${Assimp_SOURCE_DIR}/include
|
|
${Assimp_SOURCE_DIR}/include
|
|
${Assimp_SOURCE_DIR}/code
|
|
${Assimp_SOURCE_DIR}/code
|
|
)
|
|
)
|
|
-
|
|
|
|
|
|
+if (MSVC)
|
|
|
|
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
|
|
|
|
+endif()
|
|
# Add the temporary output directories to the library path to make sure the
|
|
# Add the temporary output directories to the library path to make sure the
|
|
# Assimp library can be found, even if it is not installed system-wide yet.
|
|
# Assimp library can be found, even if it is not installed system-wide yet.
|
|
LINK_DIRECTORIES( ${Assimp_BINARY_DIR} ${AssetImporter_BINARY_DIR}/lib )
|
|
LINK_DIRECTORIES( ${Assimp_BINARY_DIR} ${AssetImporter_BINARY_DIR}/lib )
|