diff --git a/CMakeLists.txt b/CMakeLists.txt index 66698cd7..9aa128dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,10 +79,10 @@ SET(builddir "${CMAKE_BINARY_DIR}") SET(top_srcdir "${CMAKE_SOURCE_DIR}") INCLUDE(UseDoxygen) -SET(prefix ${CMAKE_INSTALL_PREFIX}) -SET(exec_prefix ${CMAKE_INSTALL_PREFIX}) -SET(libdir ${CMAKE_INSTALL_FULL_LIBDIR}) -SET(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR}) +set(prefix ${CMAKE_INSTALL_PREFIX}) +set(exec_prefix \${prefix}) +set(includedir \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) +set(libdir \${prefix}/${CMAKE_INSTALL_LIBDIR}) # Additonnal GCC flags IF(CMAKE_COMPILER_IS_GNUCC)