Update CMakeLists.txt

- Show a cmake-warning if assimp_view shall be build for linux / mac
pull/4402/head
Kim Kulling 2022-02-21 15:17:23 +01:00 committed by GitHub
parent a34688230d
commit caaeef2b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -699,6 +699,8 @@ IF ( ASSIMP_BUILD_ASSIMP_TOOLS )
IF ( ASSIMP_BUILD_ASSIMP_VIEW )
ADD_SUBDIRECTORY( tools/assimp_view/ )
ENDIF ()
ELSE()
MESSAGE("Building Assimp Viewer only supported on Windows.")
ENDIF ()
# The command line tool
ADD_SUBDIRECTORY( tools/assimp_cmd/ )