Added install targets in json/CMakeLists.txt
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user