8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e27e1 commit 40f90dcCopy full SHA for 40f90dc
CMakeLists.txt
@@ -100,3 +100,11 @@ install(FILES ${headers_} DESTINATION ${UTPP_INSTALL_DESTINATION})
100
install(FILES ${platformHeaders_} DESTINATION ${UTPP_INSTALL_DESTINATION}/${platformDir_})
101
install(FILES cmake/UnitTest++Config.cmake DESTINATION "${config_install_dir_}")
102
install(EXPORT "${targets_export_name_}" DESTINATION "${config_install_dir_}")
103
+
104
+set(prefix ${CMAKE_INSTALL_PREFIX})
105
+set(exec_prefix ${CMAKE_INSTALL_PREFIX}/bin)
106
+set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
107
+set(includedir ${CMAKE_INSTALL_PREFIX}/include/UnitTest++)
108
+configure_file("UnitTest++.pc.in" "UnitTest++.pc" @ONLY)
109
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/UnitTest++.pc"
110
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
0 commit comments