CMake: Use GNUInstallDirs variables for pkg-config

This commit is contained in:
Marcel Metz 2016-04-02 10:35:50 +02:00
parent 957109be4e
commit 6bd1a26375

View File

@ -178,10 +178,9 @@ if (BUILD_UTILS)
endif ()
set (prefix ${CMAKE_INSTALL_PREFIX})
set (exec_prefix \${prefix})
set (libdir \${prefix}/lib)
set (includedir \${prefix}/include)
set (includedir \${prefix}/include)
set (exec_prefix ${CMAKE_INSTALL_PREFIX})
set (libdir ${CMAKE_INSTALL_FULL_LIBDIR})
set (includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
set (version ${GLEW_VERSION})
set (libname ${GLEW_LIB_NAME})
set (cflags)