pkgconfig files should go to $(PREFIX)/lib, not $(PREFIX)/share. Closing bug #216
authorJohn Tsiombikas <nuclear@member.fsf.org>
Sat, 3 Jan 2015 11:55:09 +0000 (11:55 +0000)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Sat, 3 Jan 2015 11:55:09 +0000 (11:55 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1742 7f0cb862-5218-0410-a997-914c9d46530a

CMakeLists.txt

index 98e9289..a00e54a 100644 (file)
@@ -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)
   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
 # TODO: change the library and .pc name when building for GLES,
 # e.g. -lglut-GLES