Added install targets in json/CMakeLists.txt

This commit is contained in:
Joakim Hove
2013-08-28 16:50:30 +02:00
parent 785bc1aa1a
commit 467846c20d
+5
View File
@@ -6,3 +6,8 @@ set( json_source JsonObject.cpp cjson/cJSON.c )
add_library(opm-json ${json_source})
target_link_libraries( opm-json ${Boost_LIBRARIES} )
set( HEADER_FILES JsonObject.hpp cjson/cJSON.h )
install( TARGETS opm-json DESTINATION ${CMAKE_INSTALL_LIBDIR} )
install( FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/opm/json)