Fix a typo in variable name
authorLuís Pereira <luis.artur.pereira@gmail.com>
Thu, 29 May 2014 16:07:55 +0000 (09:07 -0700)
committerLuís Pereira <luis.artur.pereira@gmail.com>
Thu, 29 May 2014 16:07:55 +0000 (09:07 -0700)
Signed-off-by: Luís Pereira <luis.artur.pereira@gmail.com>
CMakeLists.txt
cmake/lxqtX-config.cmake.in

index ca506cb..a79b167 100644 (file)
@@ -197,7 +197,7 @@ set(LXQT_SHARE_DIR ${CMAKE_INSTALL_PREFIX}/share/lxqt${LXQT_QT_VERSION})
 set(LXQT_TRANSLATIONS_DIR ${LXQT_SHARE_DIR}/translations)
 
 set(LXQT_INTREE_INCLUDE_DIR     ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/include)
-set(LXQT_INTREE_TRAGETS_FILE    ${CMAKE_BINARY_DIR}/${LXQT_LIBRARY_NAME}-targets.cmake)
+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/)
@@ -227,7 +227,7 @@ check_portable_headers(H_FILES ${PUB_HDRS} LINKS ${INTREE_PORTABLE_HEADERS})
 set(CFG_LXQT_INCLUDE_DIR    ${LXQT_INTREE_INCLUDE_DIR})
 set(CFG_LXQT_LIBRARY        ${LXQT_LIBRARY_NAME})
 set(CFG_LXQT_USE_FILE       ${CMAKE_BINARY_DIR}/${LXQT_LIBRARY_NAME}_use.cmake)
-set(CFG_LXQT_TRAGETS_FILE   ${LXQT_INTREE_TRAGETS_FILE})
+set(CFG_LXQT_TARGETS_FILE   ${LXQT_INTREE_TARGETS_FILE})
 
 configure_file(
     ${CMAKE_CURRENT_SOURCE_DIR}/cmake/lxqtX-config.cmake.in 
@@ -250,7 +250,7 @@ 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_TRAGETS_FILE   ${LXQT_INSTALL_CMAKE_DIR}${LXQT_LIBRARY_NAME}/${LXQT_LIBRARY_NAME}-targets.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 
@@ -343,7 +343,7 @@ install(TARGETS
 )
 
 
-export(TARGETS ${LXQT_LIBRARY_NAME} ${QTXDG_TARGET} FILE ${LXQT_INTREE_TRAGETS_FILE})
+export(TARGETS ${LXQT_LIBRARY_NAME} ${QTXDG_TARGET} FILE ${LXQT_INTREE_TARGETS_FILE})
 
 install(FILES ${PUB_HDRS}                DESTINATION ${LXQT_INSTALL_INCLUDE_DIR}/LXQt)
 install(FILES ${INTREE_PORTABLE_HEADERS} DESTINATION ${LXQT_INSTALL_INCLUDE_DIR}/LXQt)
index 9ea70b3..2b12071 100644 (file)
@@ -73,7 +73,7 @@ set(LXQT_FOUND              1)
 set(LXQT@LXQT_QT_VERSION@_FOUND             1)
 
 
-include(@CFG_LXQT_TRAGETS_FILE@)
+include(@CFG_LXQT_TARGETS_FILE@)
 
 mark_as_advanced(LXQT_LIBRARY LXQT_INCLUDE_DIR)