Changed: #842 fixed *.pc install source paths

This commit is contained in:
rti 2010-06-09 23:41:54 +02:00
parent f23e8f0664
commit 2a026c1d9e
6 changed files with 6 additions and 6 deletions

View file

@ -665,7 +665,7 @@ SOURCE_GROUP(Shadows FILES
IF(NOT WIN32) IF(NOT WIN32)
ADD_LIBRARY(nel3d SHARED ${SRC}) ADD_LIBRARY(nel3d SHARED ${SRC})
CONFIGURE_FILE(nel-3d.pc.in nel-3d.pc) CONFIGURE_FILE(nel-3d.pc.in nel-3d.pc)
INSTALL(FILES nel-3d.pc DESTINATION lib/pkgconfig) INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/nel-3d.pc" DESTINATION lib/pkgconfig)
ELSE(NOT WIN32) ELSE(NOT WIN32)
ADD_LIBRARY(nel3d STATIC ${SRC}) ADD_LIBRARY(nel3d STATIC ${SRC})
ENDIF(NOT WIN32) ENDIF(NOT WIN32)

View file

@ -7,7 +7,7 @@ SOURCE_GROUP(headers FILES ${PRIV_H} ${PUB_H})
IF(NOT WIN32) IF(NOT WIN32)
ADD_LIBRARY(nelgeorges SHARED ${SRC}) ADD_LIBRARY(nelgeorges SHARED ${SRC})
CONFIGURE_FILE(nel-georges.pc.in nel-georges.pc) CONFIGURE_FILE(nel-georges.pc.in nel-georges.pc)
INSTALL(FILES nel-georges.pc DESTINATION lib/pkgconfig) INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/nel-georges.pc" DESTINATION lib/pkgconfig)
ELSE(NOT WIN32) ELSE(NOT WIN32)
ADD_LIBRARY(nelgeorges STATIC ${SRC}) ADD_LIBRARY(nelgeorges STATIC ${SRC})
ENDIF(NOT WIN32) ENDIF(NOT WIN32)

View file

@ -3,7 +3,7 @@ FILE(GLOB SRC *.cpp *.h)
IF(NOT WIN32) IF(NOT WIN32)
ADD_LIBRARY(nelligo SHARED ${SRC}) ADD_LIBRARY(nelligo SHARED ${SRC})
CONFIGURE_FILE(nel-ligo.pc.in nel-ligo.pc) CONFIGURE_FILE(nel-ligo.pc.in nel-ligo.pc)
INSTALL(FILES nel-ligo.pc DESTINATION lib/pkgconfig) INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/nel-ligo.pc" DESTINATION lib/pkgconfig)
ELSE(NOT WIN32) ELSE(NOT WIN32)
ADD_LIBRARY(nelligo STATIC ${SRC}) ADD_LIBRARY(nelligo STATIC ${SRC})
ENDIF(NOT WIN32) ENDIF(NOT WIN32)

View file

@ -3,7 +3,7 @@ FILE(GLOB SRC *.cpp *.h config_file/*.cpp config_file/*.h)
IF(NOT WIN32) IF(NOT WIN32)
ADD_LIBRARY(nelmisc SHARED ${SRC}) ADD_LIBRARY(nelmisc SHARED ${SRC})
CONFIGURE_FILE(nel-misc.pc.in nel-misc.pc) CONFIGURE_FILE(nel-misc.pc.in nel-misc.pc)
INSTALL(FILES nel-misc.pc DESTINATION lib/pkgconfig) INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/nel-misc.pc" DESTINATION lib/pkgconfig)
ELSE(NOT WIN32) ELSE(NOT WIN32)
ADD_LIBRARY(nelmisc STATIC ${SRC}) ADD_LIBRARY(nelmisc STATIC ${SRC})
ENDIF(NOT WIN32) ENDIF(NOT WIN32)

View file

@ -3,7 +3,7 @@ FILE(GLOB SRC *.cpp *.h)
IF(NOT WIN32) IF(NOT WIN32)
ADD_LIBRARY(nelpacs SHARED ${SRC}) ADD_LIBRARY(nelpacs SHARED ${SRC})
CONFIGURE_FILE(nel-pacs.pc.in nel-pacs.pc) CONFIGURE_FILE(nel-pacs.pc.in nel-pacs.pc)
INSTALL(FILES nel-pacs.pc DESTINATION lib/pkgconfig) INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/nel-pacs.pc" DESTINATION lib/pkgconfig)
ELSE(NOT WIN32) ELSE(NOT WIN32)
ADD_LIBRARY(nelpacs STATIC ${SRC}) ADD_LIBRARY(nelpacs STATIC ${SRC})
ENDIF(NOT WIN32) ENDIF(NOT WIN32)

View file

@ -9,7 +9,7 @@ ENDIF(APPLE)
IF(NOT WIN32) IF(NOT WIN32)
ADD_LIBRARY(nelsound SHARED ${SRC}) ADD_LIBRARY(nelsound SHARED ${SRC})
CONFIGURE_FILE(nel-sound.pc.in nel-sound.pc) CONFIGURE_FILE(nel-sound.pc.in nel-sound.pc)
INSTALL(FILES nel-sound.pc DESTINATION lib/pkgconfig) INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/nel-sound.pc" DESTINATION lib/pkgconfig)
ELSE(NOT WIN32) ELSE(NOT WIN32)
ADD_LIBRARY(nelsound STATIC ${SRC}) ADD_LIBRARY(nelsound STATIC ${SRC})
ENDIF(NOT WIN32) ENDIF(NOT WIN32)