Fixes extra misleading slashes in path names
authorLuís Pereira <luis.artur.pereira@gmail.com>
Thu, 29 May 2014 15:45:47 +0000 (08:45 -0700)
committerLuís Pereira <luis.artur.pereira@gmail.com>
Thu, 29 May 2014 16:08:50 +0000 (09:08 -0700)
There was pathnames with two slashes in a row.

Signed-off-by: Luís Pereira <luis.artur.pereira@gmail.com>
CMakeLists.txt

index 83972dc..4f9a130 100644 (file)
@@ -200,7 +200,7 @@ set(LXQT_INTREE_INCLUDE_DIR     ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/incl
 set(LXQT_INTREE_TARGETS_FILE    ${CMAKE_BINARY_DIR}/${LXQT_LIBRARY_NAME}-targets.cmake)
 
 set(LXQT_INSTALL_INCLUDE_DIR   ${CMAKE_INSTALL_FULL_INCLUDEDIR}/lxqt${LXQT_QT_VERSION})
-set(LXQT_INSTALL_CMAKE_DIR     ${CMAKE_INSTALL_PREFIX}/share/cmake/)
+set(LXQT_INSTALL_CMAKE_DIR     ${CMAKE_INSTALL_PREFIX}/share/cmake)
 
 include(cmake/FindInstallConfigPath.cmake)
 include(create_portable_headers)
@@ -249,8 +249,8 @@ include(${CFG_LXQT_USE_FILE})
 #************************************************
 set(CFG_LXQT_INCLUDE_DIR    ${LXQT_INSTALL_INCLUDE_DIR})
 set(CFG_LXQT_LIBRARY        ${LXQT_LIBRARY_NAME})
-set(CFG_LXQT_USE_FILE       ${LXQT_INSTALL_CMAKE_DIR}${LXQT_LIBRARY_NAME}/${LXQT_LIBRARY_NAME}_use.cmake)
-set(CFG_LXQT_TARGETS_FILE   ${LXQT_INSTALL_CMAKE_DIR}${LXQT_LIBRARY_NAME}/${LXQT_LIBRARY_NAME}-targets.cmake)
+set(CFG_LXQT_USE_FILE       ${LXQT_INSTALL_CMAKE_DIR}/${LXQT_LIBRARY_NAME}/${LXQT_LIBRARY_NAME}_use.cmake)
+set(CFG_LXQT_TARGETS_FILE   ${LXQT_INSTALL_CMAKE_DIR}/${LXQT_LIBRARY_NAME}/${LXQT_LIBRARY_NAME}-targets.cmake)
 
 configure_file(
     ${CMAKE_CURRENT_SOURCE_DIR}/cmake/lxqtX-config.cmake.in