projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a10a3c
)
[+] Added link to RT library when using Open3DGC-compression.
author
Alexandr Arutjunov
<smal.root@gmail.com>
Sat, 13 Aug 2016 14:44:58 +0000
(17:44 +0300)
committer
Alexandr Arutjunov
<smal.root@gmail.com>
Sat, 13 Aug 2016 14:44:58 +0000
(17:44 +0300)
code/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/code/CMakeLists.txt
b/code/CMakeLists.txt
index
23456d1
..
44336b0
100644
(file)
--- a/
code/CMakeLists.txt
+++ b/
code/CMakeLists.txt
@@
-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
)