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 () endif ()
set (prefix ${CMAKE_INSTALL_PREFIX}) set (prefix ${CMAKE_INSTALL_PREFIX})
set (exec_prefix \${prefix}) set (exec_prefix ${CMAKE_INSTALL_PREFIX})
set (libdir \${prefix}/lib) set (libdir ${CMAKE_INSTALL_FULL_LIBDIR})
set (includedir \${prefix}/include) set (includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
set (includedir \${prefix}/include)
set (version ${GLEW_VERSION}) set (version ${GLEW_VERSION})
set (libname ${GLEW_LIB_NAME}) set (libname ${GLEW_LIB_NAME})
set (cflags) set (cflags)