- # Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(can-config-generator
- ${link_libraries}
- )
+TARGET_INCLUDE_DIRECTORIES(${TARGET_NAME}
+ PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/json
+)
+
+# Library dependencies (include updates automatically)
+TARGET_LINK_LIBRARIES(${TARGET_NAME}
+ ${link_libraries}
+)
+
+# installation directory
+INSTALL(TARGETS ${TARGET_NAME}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})