Do CMake right
This commit is contained in:
committed by
Josiah VanderZee
parent
a3b2dbdebb
commit
a0b7a15693
@@ -2,6 +2,9 @@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
find_package(tinygltf 2.6 REQUIRED
|
||||
PATHS "${CMAKE_CURRENT_LIST_DIR}"
|
||||
|
||||
if(NOT TARGET IrrlichtMt::IrrlichtMt)
|
||||
# private dependency only explicitly needed with static libs
|
||||
if(@USE_SDL2@ AND NOT @BUILD_SHARED_LIBS@)
|
||||
|
Reference in New Issue
Block a user