--- lucene++-3.0.6/CMakeLists.txt +++ lucene++-3.0.6/CMakeLists.txt @@ -139,6 +139,14 @@ if(NOT WIN32) DESTINATION ${LIB_DESTINATION}/pkgconfig) endif() +################################# +# install Config.h +################################# +install( + FILES + "${CMAKE_CURRENT_BINARY_DIR}/include/Config.h" + DESTINATION include/lucene++) + #################################### # custom targets #################################### --- lucene++-3.0.6/src/core/CMakeLists.txt +++ lucene++-3.0.6/src/core/CMakeLists.txt @@ -20,7 +20,7 @@ file(GLOB_RECURSE lucene_internal_header ) file(GLOB_RECURSE lucene_headers - include/*.h + "${lucene++_SOURCE_DIR}/include/*.h" ) add_definitions(-DLPP_BUILDING_LIB)