File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ find_package(ZLIB)
77
88find_path (ICONV_INCLUDE_DIRS iconv.h)
99mark_as_advanced (ICONV_INCLUDE_DIRS)
10- find_library (ICONV_LIBRARIES NAMES libiconv libiconv-2 c )
10+ find_library (ICONV_LIBRARIES NAMES libiconv libiconv-2 iconv )
1111mark_as_advanced (ICONV_LIBRARIES)
1212
1313set (ICONV_FOUND FALSE )
@@ -27,6 +27,7 @@ set (SOURCES
2727set (STRING_ENCODING_TYPE "ICONV" CACHE STRING "Set the way strings have to be encoded (ICONV|NONE|...)" )
2828
2929add_library (${PROJECT_NAME} SHARED ${HEADERS} ${SOURCES} )
30+ set_target_properties (${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "kaitai/kaitaistream.h;kaitai/kaitaistruct.h" )
3031
3132if (ZLIB_FOUND)
3233 target_include_directories (${PROJECT_NAME} PRIVATE ${ZLIB_INCLUDE_DIRS} )
@@ -53,5 +54,6 @@ if (WIN32)
5354else ()
5455 install (TARGETS ${PROJECT_NAME}
5556 LIBRARY DESTINATION lib
57+ PUBLIC_HEADER DESTINATION include /kaitai
5658 )
5759endif ()
You can’t perform that action at this time.
0 commit comments