summaryrefslogtreecommitdiff
path: root/clucene/contribs-lib-makefile.patch
blob: 8cc05aea4cfb4a1659104d85b4ea1688b72ec623 (plain)
    1 --- src/contribs-lib/CMakeLists.txt	2012-05-24 22:38:20.002443317 +0200
    2 +++ src/contribs-lib/CMakeLists.txt	2012-05-24 22:38:05.218443899 +0200
    3 @@ -113,3 +113,20 @@
    4      COMPILE_DEFINITIONS_DEBUG _DEBUG
    5  )
    6 
    7 +#install lib
    8 +install(TARGETS clucene-contribs-lib
    9 +         DESTINATION ${LIB_DESTINATION}
   10 +         COMPONENT runtime )
   11 +
   12 +#install public headers.
   13 +FOREACH(file ${HEADERS})
   14 +	get_filename_component(apath ${file} PATH)
   15 +	get_filename_component(aname ${file} NAME)
   16 +	file(RELATIVE_PATH relpath ${CMAKE_SOURCE_DIR}/src/contribs-lib ${apath})
   17 +	IF ( NOT aname MATCHES "^_.*" )
   18 +		install(FILES ${file}
   19 +		        DESTINATION include/${relpath}
   20 +		        COMPONENT development)
   21 +	ENDIF ( NOT aname MATCHES "^_.*" )
   22 +ENDFOREACH(file)
   23 +

Generated by cgit