mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-10 04:00:21 +02:00
Borrow CReadFile for tests
The method to load a mesh from a file was removed. This is not a good fix, but it will keep the tests working until a file loader can be properly exposed to the tests.
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
add_executable(tests
|
||||
testCGLTFMeshFileLoader.cpp
|
||||
"${PROJECT_SOURCE_DIR}/source/Irrlicht/CReadFile.cpp"
|
||||
)
|
||||
|
||||
set_target_properties(tests PROPERTIES
|
||||
@ -13,6 +14,12 @@ target_compile_options(tests
|
||||
"$<$<CXX_COMPILER_ID:GNU>:-Wall>"
|
||||
)
|
||||
|
||||
target_include_directories(tests
|
||||
PRIVATE
|
||||
# For CReadFile
|
||||
"${PROJECT_SOURCE_DIR}/source/Irrlicht"
|
||||
)
|
||||
|
||||
target_link_libraries(tests
|
||||
PRIVATE
|
||||
Catch2::Catch
|
||||
|
Reference in New Issue
Block a user