mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 07:40:26 +02:00
Register Catch2 tests with CTest
This commit is contained in:
committed by
Josiah VanderZee
parent
030abc7b04
commit
246ee9c3ca
@ -576,6 +576,10 @@ if(WIN32)
|
||||
set_target_properties(IrrlichtMt PROPERTIES PREFIX "") # for DLL name
|
||||
endif()
|
||||
|
||||
if((CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) AND BUILD_TESTING)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
# Installation of library
|
||||
install(TARGETS IrrlichtMt tinygltf
|
||||
EXPORT IrrlichtMt-export
|
||||
|
Reference in New Issue
Block a user