summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-01 07:33:59 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-01 07:33:59 +0000
commitbb16d8816c82f490df355d667795687b034dc976 (patch)
treec620b3848c3e72d27be25a147e0b6e8f99777db0 /CMakeLists.txt
parente1cd500ac50f664bb7c4de479a3864367a46053c (diff)
[trunk] FolderReorgProposal task: only keep a single build system
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 0 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1978a71a..6a0d7779 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -145,19 +145,6 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/openjpeg_mangle.h.in
endif()
#-----------------------------------------------------------------------------
-# pkgconfig support
-if(UNIX)
- # install in lib and not share (see multi-arch note above)
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libopenjpeg1.pc.cmake
- ${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc @ONLY)
- install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc DESTINATION
- ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
- install( CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
- \"libopenjpeg1.pc\"
- \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_SHARE_DIR}/pkgconfig/libopenjpeg.pc\")")
-endif()
-
-#-----------------------------------------------------------------------------
# Compiler specific flags:
if(CMAKE_COMPILER_IS_GNUCC)
# For all builds, make sure openjpeg is std99 compliant: