Skip to content

Commit

Permalink
fix include install
Browse files Browse the repository at this point in the history
  • Loading branch information
martell committed Nov 4, 2012
1 parent 4d975b8 commit 9b380d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CmakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ LINK_DIRECTORIES("${CMAKE_INSTALL_PREFIX}/lib")
file( GLOB XML2_HEADERS ${XML2_SOURCE_DIR}/*.h )
file( GLOB XML2_SOURCES ${XML2_SOURCE_DIR}/*.c )

file( GLOB API_HEADERS ${XML2_SOURCE_DIR}/include/libxml/*.h )

#source_group( libxml FILES ${GLEW_HEADERS} )
#source_group( src FILES ${GLEW_SOURCES} )
#include_directories(${ANDROID_NDK}/platforms/android-14/arch-arm/usr/include/asm)
Expand All @@ -30,7 +32,7 @@ endif()
add_library( xml2 ${XML2_LIBTYPE} ${XML2_SOURCES} ${XML2_HEADERS} )
target_link_libraries(xml2 iconv ws2_32)

set_target_properties(xml2 PROPERTIES PUBLIC_HEADER "${XML2_SOURCE_DIR}/include/libxml")
set_target_properties(xml2 PROPERTIES PUBLIC_HEADER "${API_HEADERS}")

set(BINDIR bin)
set(BINCOMPONENT runtime)
Expand Down

0 comments on commit 9b380d4

Please sign in to comment.