[+] Added link to RT library when using Open3DGC-compression.
parent
3a10a3cf03
commit
de70f5c028
|
@ -1,4 +1,4 @@
|
||||||
# Open Asset Import Library (assimp)
|
# Open Asset Import Library (assimp)
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006-2016, assimp team
|
# Copyright (c) 2006-2016, assimp team
|
||||||
|
@ -767,6 +767,10 @@ SET( assimp_src
|
||||||
)
|
)
|
||||||
ADD_DEFINITIONS( -DOPENDDLPARSER_BUILD )
|
ADD_DEFINITIONS( -DOPENDDLPARSER_BUILD )
|
||||||
|
|
||||||
|
if (open3dgc_SRCS)
|
||||||
|
SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -lrt")
|
||||||
|
endif (open3dgc_SRCS)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
../contrib/openddlparser/include
|
../contrib/openddlparser/include
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue