Commit 93a8f4c5 authored by Isaak Lim's avatar Isaak Lim

workaround to keep assimp related tests from running if assimp was not found

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@17174 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e0720cef
if(NOT ${ASSIMP_LIBRARY} STREQUAL "ASSIMP_LIBRARY-NOTFOUND")
# Include Testing package
if(BUILD_TESTING)
# Include Testing package
if(BUILD_TESTING)
include( ${CMAKE_SOURCE_DIR}/tests/testGenerators.cmake )
include( ${CMAKE_SOURCE_DIR}/tests/testGenerators.cmake )
# ========================================================================
# ========================================================================
# Tests
# ========================================================================
# ========================================================================
run_single_object_file_mesh_test("assimpplugin" "Plugin-Assimp/cube.xgl" "fileMeshTest.ofs")
run_single_object_file_mesh_test("assimpplugin" "Plugin-Assimp/cube.dae" "fileMeshTest.ofs")
# ========================================================================
# ========================================================================
# Tests
# ========================================================================
# ========================================================================
run_single_object_file_mesh_test("assimpplugin" "Plugin-Assimp/cube.xgl" "fileMeshTest.ofs")
run_single_object_file_mesh_test("assimpplugin" "Plugin-Assimp/cube.dae" "fileMeshTest.ofs")
endif()
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment