[+] Added link to RT library when using Open3DGC-compression.

pull/972/head
Alexandr Arutjunov 2016-08-13 17:44:58 +03:00
parent 3a10a3cf03
commit de70f5c028
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Open Asset Import Library (assimp)
# Open Asset Import Library (assimp)
# ----------------------------------------------------------------------
#
# Copyright (c) 2006-2016, assimp team
@ -767,6 +767,10 @@ SET( assimp_src
)
ADD_DEFINITIONS( -DOPENDDLPARSER_BUILD )
if (open3dgc_SRCS)
SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -lrt")
endif (open3dgc_SRCS)
INCLUDE_DIRECTORIES(
../contrib/openddlparser/include
)