From ff105e6863466b178999b1d9bdad05074df4cc83 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Sat, 3 Jan 2015 11:55:09 +0000 Subject: [PATCH] pkgconfig files should go to $(PREFIX)/lib, not $(PREFIX)/share. Closing bug #216 git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1742 7f0cb862-5218-0410-a997-914c9d46530a --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 98e9289..a00e54a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -522,6 +522,6 @@ IF(FREEGLUT_GLES) SET(PC_FILENAME "freeglut-gles.pc") ENDIF() CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/freeglut.pc.in ${CMAKE_BINARY_DIR}/freeglut.pc @ONLY) -INSTALL(FILES ${CMAKE_BINARY_DIR}/freeglut.pc DESTINATION share/pkgconfig/ RENAME ${PC_FILENAME}) +INSTALL(FILES ${CMAKE_BINARY_DIR}/freeglut.pc DESTINATION lib/pkgconfig/ RENAME ${PC_FILENAME}) # TODO: change the library and .pc name when building for GLES, # e.g. -lglut-GLES -- 1.7.10.4