summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-28 21:30:28 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-28 21:30:28 (GMT)
commitba63b6f15ecb8c3011244468e7c6257a43d2dc6b (patch)
treea7f484100d282c01d2a7ed1a045a186ed7f96e66 /Source
parentee1d5b3a985882f248250c2d6ae184a3eb431bb9 (diff)
downloadCMake-ba63b6f15ecb8c3011244468e7c6257a43d2dc6b.zip
CMake-ba63b6f15ecb8c3011244468e7c6257a43d2dc6b.tar.gz
CMake-ba63b6f15ecb8c3011244468e7c6257a43d2dc6b.tar.bz2
COMP: Link tar library to cmake
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 799bc2c..29cbaf9 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -12,6 +12,7 @@ INCLUDE_DIRECTORIES(
"${CMake_SOURCE_DIR}/Source"
${CMAKE_ZLIB_INCLUDES}
${CMAKE_EXPAT_INCLUDES}
+ ${CMAKE_TAR_INCLUDES}
)
# let cmake know it is supposed to use it
@@ -195,7 +196,7 @@ ENDIF (WIN32)
# create a library used by the command line and the GUI
ADD_LIBRARY(CMakeLib ${SRCS})
-TARGET_LINK_LIBRARIES(CMakeLib cmsys ${CMAKE_EXPAT_LIBRARIES} ${CMAKE_ZLIB_LIBRARIES})
+TARGET_LINK_LIBRARIES(CMakeLib cmsys ${CMAKE_EXPAT_LIBRARIES} ${CMAKE_ZLIB_LIBRARIES} ${CMAKE_TAR_LIBRARIES})
IF (UNIX)
TARGET_LINK_LIBRARIES(CMakeLib ${CMAKE_DL_LIBS})
ENDIF (UNIX)