Fix cmake libxml2 stuff
authorTomas Mlcoch <tmlcoch@redhat.com>
Tue, 3 Apr 2012 15:07:28 +0000 (17:07 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Tue, 3 Apr 2012 15:07:28 +0000 (17:07 +0200)
CMakeLists.txt
src/CMakeLists.txt

index dc3c4e7..586b027 100644 (file)
@@ -61,7 +61,7 @@ include_directories(${BZIP2_INCLUDE_DIRS})
 include_directories(${GTHREAD2_INCLUDE_DIRS})
 include_directories(${ZLIB_INCLUDE_DIRS})
 include_directories(${EXPAT_INCLUDE_DIRS})
-include_directories(${LIBXML2_INCLUDE_DIRS})
+include_directories(${LIBXML2_INCLUDE_DIR})
 
 
 # rpm:
index 2746496..6f7f2e6 100644 (file)
@@ -10,7 +10,7 @@ TARGET_LINK_LIBRARIES(libcreaterepo_c ${RPMDB_LIBRARY})
 TARGET_LINK_LIBRARIES(libcreaterepo_c ${BZIP2_LIBRARIES})
 TARGET_LINK_LIBRARIES(libcreaterepo_c ${GLIB2_LIBRARIES})
 TARGET_LINK_LIBRARIES(libcreaterepo_c ${Libmagic_LIBRARY})
-TARGET_LINK_LIBRARIES(libcreaterepo_c ${LIBXML2_LIBRARY})
+TARGET_LINK_LIBRARIES(libcreaterepo_c ${LIBXML2_LIBRARIES})
 TARGET_LINK_LIBRARIES(libcreaterepo_c ${EXPAT_LIBRARIES})
 SET_TARGET_PROPERTIES(libcreaterepo_c PROPERTIES OUTPUT_NAME "libcreaterepo_c")