1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
|
diff --git a/fbx/src/CMakeLists.txt b/fbx/src/CMakeLists.txt
index 8a6b278..ed38e6e 100644
--- a/fbx/src/CMakeLists.txt
+++ b/fbx/src/CMakeLists.txt
@@ -27,14 +27,7 @@ PRIVATE
target_link_libraries(usdFbx
PRIVATE
- tf
- sdf
- usd
- usdGeom
- usdSkel
- usdShade
- usdUtils
- arch
+ ${PXR_LIBRARIES}
fileformatUtils
fbxsdk::fbxsdk
)
diff --git a/fbx/tests/CMakeLists.txt b/fbx/tests/CMakeLists.txt
index fe745ca..82c9ab4 100644
--- a/fbx/tests/CMakeLists.txt
+++ b/fbx/tests/CMakeLists.txt
@@ -7,7 +7,7 @@ usd_plugin_compile_config(fbxSanityTests)
target_link_libraries(fbxSanityTests
PRIVATE
- usd
+ ${PXR_LIBRARIES}
GTest::gtest
GTest::gtest_main
)
diff --git a/gltf/CMakeLists.txt b/gltf/CMakeLists.txt
index d112749..617ddec 100644
--- a/gltf/CMakeLists.txt
+++ b/gltf/CMakeLists.txt
@@ -16,6 +16,7 @@ find_package(TinyGLTF REQUIRED)
if(USD_FILEFORMATS_ENABLE_DRACO)
find_package(draco REQUIRED)
endif()
+find_package(OpenGL REQUIRED)
add_subdirectory(src)
diff --git a/gltf/src/CMakeLists.txt b/gltf/src/CMakeLists.txt
index 7ba1ab9..0756b28 100644
--- a/gltf/src/CMakeLists.txt
+++ b/gltf/src/CMakeLists.txt
@@ -33,10 +33,7 @@ PRIVATE
target_link_libraries(usdGltf
PRIVATE
- usd
- usdGeom
- usdSkel
- usdShade
+ ${PXR_LIBRARIES}
tinygltf::tinygltf
Threads::Threads
fileformatUtils
diff --git a/gltf/tests/CMakeLists.txt b/gltf/tests/CMakeLists.txt
index d63856f..fd09872 100644
--- a/gltf/tests/CMakeLists.txt
+++ b/gltf/tests/CMakeLists.txt
@@ -6,7 +6,7 @@ usd_plugin_compile_config(gltfSanityTests)
target_link_libraries(gltfSanityTests
PRIVATE
- usd
+ ${PXR_LIBRARIES}
GTest::gtest
GTest::gtest_main
)
diff --git a/obj/src/CMakeLists.txt b/obj/src/CMakeLists.txt
index 37a9d13..45885e9 100644
--- a/obj/src/CMakeLists.txt
+++ b/obj/src/CMakeLists.txt
@@ -27,12 +27,7 @@ PRIVATE
target_link_libraries(usdObj
PUBLIC
- tf
- sdf
- usd
- usdGeom
- usdSkel
- usdShade
+ ${PXR_LIBRARIES}
fileformatUtils
fmt::fmt
FastFloat::fast_float
diff --git a/obj/tests/CMakeLists.txt b/obj/tests/CMakeLists.txt
index 56f1bef..7288016 100644
--- a/obj/tests/CMakeLists.txt
+++ b/obj/tests/CMakeLists.txt
@@ -6,7 +6,7 @@ usd_plugin_compile_config(objSanityTests)
target_link_libraries(objSanityTests
PRIVATE
- usd
+ ${PXR_LIBRARIES}
GTest::gtest
GTest::gtest_main
)
diff --git a/ply/CMakeLists.txt b/ply/CMakeLists.txt
index 921b8cb..5229d8b 100644
--- a/ply/CMakeLists.txt
+++ b/ply/CMakeLists.txt
@@ -9,6 +9,7 @@ if(USD_FILEFORMATS_BUILD_TESTS)
find_package(GTest REQUIRED)
endif()
find_package(Happly REQUIRED)
+find_package(OpenGL REQUIRED)
add_subdirectory(src)
diff --git a/ply/src/CMakeLists.txt b/ply/src/CMakeLists.txt
index 788207b..7ed23f8 100644
--- a/ply/src/CMakeLists.txt
+++ b/ply/src/CMakeLists.txt
@@ -25,12 +25,7 @@ PRIVATE
target_link_libraries(usdPly
PRIVATE
- tf
- sdf
- usd
- usdGeom
- usdSkel
- usdShade
+ ${PXR_LIBRARIES}
happly::happly
fileformatUtils
)
diff --git a/ply/tests/CMakeLists.txt b/ply/tests/CMakeLists.txt
index 640d37f..5de4169 100644
--- a/ply/tests/CMakeLists.txt
+++ b/ply/tests/CMakeLists.txt
@@ -6,7 +6,7 @@ usd_plugin_compile_config(plySanityTests)
target_link_libraries(plySanityTests
PRIVATE
- usd
+ ${PXR_LIBRARIES}
GTest::gtest
GTest::gtest_main
)
diff --git a/sbsar/src/CMakeLists.txt b/sbsar/src/CMakeLists.txt
index 6f01e8c..f590a92 100644
--- a/sbsar/src/CMakeLists.txt
+++ b/sbsar/src/CMakeLists.txt
@@ -57,16 +57,8 @@ target_include_directories(
target_link_libraries(
${PLUGIN_NAME}
- PUBLIC tf
- sdf
- usd
- usdGeom
- usdShade
- usdLux
- usdMedia
- usdRender
- vt
- hio
+ PUBLIC
+ ${PXR_LIBRARIES}
${SUBSTANCE_TARGETS}
fileformatUtils
)
diff --git a/sbsar/test/CMakeLists.txt b/sbsar/test/CMakeLists.txt
index f748bb6..72b4ae0 100644
--- a/sbsar/test/CMakeLists.txt
+++ b/sbsar/test/CMakeLists.txt
@@ -6,8 +6,7 @@ usd_plugin_compile_config(sbsarSanityTests)
target_link_libraries(sbsarSanityTests
PRIVATE
- ar
- usd
+ ${PXR_LIBRARIES}
usdSbsar
GTest::gtest
GTest::gtest_main
diff --git a/stl/CMakeLists.txt b/stl/CMakeLists.txt
index bc5e97a..c8f422e 100644
--- a/stl/CMakeLists.txt
+++ b/stl/CMakeLists.txt
@@ -9,6 +9,7 @@ endif()
if(USD_FILEFORMATS_BUILD_TESTS)
find_package(GTest REQUIRED)
endif()
+find_package(OpenGL REQUIRED)
add_subdirectory(src)
diff --git a/stl/src/CMakeLists.txt b/stl/src/CMakeLists.txt
index bcda4d0..98b05d8 100644
--- a/stl/src/CMakeLists.txt
+++ b/stl/src/CMakeLists.txt
@@ -25,15 +25,7 @@ PRIVATE
target_link_libraries(usdStl
PRIVATE
- tf
- vt
- sdf
- usd
- usdGeom
- usdSkel
- usdShade
- usdLux
- usdUtils
+ ${PXR_LIBRARIES}
fileformatUtils
)
diff --git a/stl/tests/CMakeLists.txt b/stl/tests/CMakeLists.txt
index 3d02e75..5ef9a19 100644
--- a/stl/tests/CMakeLists.txt
+++ b/stl/tests/CMakeLists.txt
@@ -6,7 +6,7 @@ usd_plugin_compile_config(stlSanityTests)
target_link_libraries(stlSanityTests
PRIVATE
- usd
+ ${PXR_LIBRARIES}
GTest::gtest
GTest::gtest_main
)
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index f8f45d4..d7251f8 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -4,6 +4,7 @@ if (NOT TARGET usd)
endif()
find_package(OpenImageIO REQUIRED)
find_package(ZLIB REQUIRED)
+find_package(OpenGL REQUIRED)
if(USD_FILEFORMATS_BUILD_TESTS)
find_package(GTest REQUIRED)
endif()
@@ -60,17 +61,7 @@ target_include_directories(fileformatUtils
target_link_libraries(fileformatUtils
PUBLIC
OpenImageIO::OpenImageIO
- tf
- sdf
- usd
- usdGeom
- usdLux
- usdRender
- usdSkel
- usdShade
- usdUtils
- usdVol
- arch
+ ${PXR_LIBRARIES}
ZLIB::ZLIB
)
|