grim/guifications3

removed gf_intl.h from gf_lib.h
cmake
2010-12-19, Gary Kramlich
9a16ab4bdc51
Parents d99ac4122bac
Children 1eb207f1d7ef
removed gf_intl.h from gf_lib.h

closes #675
--- a/gflib/gflib/CMakeLists.txt Sun Dec 19 23:56:00 2010 -0600
+++ b/gflib/gflib/CMakeLists.txt Sun Dec 19 23:58:30 2010 -0600
@@ -16,7 +16,6 @@
gf_filesystem.h
gf_hash.h
gf_image.h
- gf_intl.h
gf_log.h
gf_logger.h
gf_named_object.h
@@ -38,6 +37,10 @@
gf_type.h
)
+set(GFLIB_EXTRA_HEADERS
+ gf_intl.h
+)
+
set(GFLIB_BUILT_HEADERS
gf_enum.h
gf_marshallers.h
@@ -154,8 +157,9 @@
# gflib library
###############################################################################
add_library(gflib SHARED
+ ${GFLIB_BUILT_HEADERS}
+ ${GFLIB_EXTRA_HEADERS}
${GFLIB_HEADERS}
- ${GFLIB_BUILT_HEADERS}
${GFLIB_SOURCES}
)
@@ -180,7 +184,7 @@
)
# install the normal headers into the gflib subdirectory
-foreach(HEADER ${GFLIB_HEADERS})
+foreach(HEADER ${GFLIB_HEADERS} ${GFLIB_EXTRA_HEADERS})
install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/${HEADER}
DESTINATION include/gflib-1.0/gflib