In CMake, link a few libraries against other libraries that they depend on.

This commit is contained in:
Sam Edwards 2014-01-26 18:06:37 -07:00
parent 0ceb237c9c
commit 0f89ef1e7b
4 changed files with 4 additions and 4 deletions

View File

@ -65,4 +65,4 @@ set(P3PRC_SOURCES
composite_sources(p3prc P3PRC_SOURCES)
add_library(p3prc ${P3PRC_HEADERS} ${P3PRC_SOURCES})
target_link_libraries(p3prc p3dtoolutil p3dtoolbase)
target_link_libraries(p3prc p3dtoolutil p3dtoolbase ${OPENSSL_LIBRARIES})

View File

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

View File

@ -15,5 +15,5 @@ set(P3PNMTEXT_SOURCES
composite_sources(p3pnmtext P3PNMTEXT_SOURCES)
add_library(p3pnmtext ${P3PNMTEXT_SOURCES} ${P3PNMTEXT_HEADERS})
target_link_libraries(p3pnmtext p3pnmimage)
target_link_libraries(p3pnmtext p3pnmimage ${FREETYPE_LIBRARIES})
target_interrogate(p3pnmtext ALL)

View File

@ -34,5 +34,5 @@ set(P3TEXT_SOURCES
composite_sources(p3text P3TEXT_SOURCES)
add_library(p3text ${P3TEXT_SOURCES} ${P3TEXT_HEADERS})
target_link_libraries(p3text p3pnmtext p3parametrics)
target_link_libraries(p3text p3pnmtext p3parametrics ${FREETYPE_LIBRARIES})
target_interrogate(p3text ALL)