Browse Source

In CMake builds, link gobj with Squish (when enabled).

kestred 12 years ago
parent
commit
7c8062a88a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      panda/src/gobj/CMakeLists.txt

+ 2 - 1
panda/src/gobj/CMakeLists.txt

@@ -143,7 +143,8 @@ set(P3GOBJ_SOURCES
 
 composite_sources(p3gobj P3GOBJ_SOURCES)
 add_library(p3gobj ${P3GOBJ_HEADERS} ${P3GOBJ_SOURCES})
-target_link_libraries(p3gobj p3gsgbase p3pnmimage ${ZLIB_LIBRARIES})
+target_link_libraries(p3gobj p3gsgbase p3pnmimage
+  ${ZLIB_LIBRARIES} ${SQUISH_LIBRARY})
 target_interrogate(p3gobj ALL)
 
 #begin test_bin_target