Annotation of qmapshack/navipowm/patches/patch-build_cmake_CMakeLists_txt, Revision 1.1
1.1 ! kirby 1: $OpenBSD$
! 2: --- build/cmake/CMakeLists.txt.orig Tue Jul 5 23:42:20 2011
! 3: +++ build/cmake/CMakeLists.txt Mon Jan 2 19:24:50 2012
! 4: @@ -5,6 +5,7 @@ cmake_minimum_required( VERSION 2.4.8)
! 5:
! 6: # This project requires Qt4
! 7: find_package( Qt4 REQUIRED )
! 8: +find_package( Gps REQUIRED )
! 9:
! 10: # make a release
! 11: SET ( CMAKE_BUILD_TYPE release )
! 12: @@ -17,6 +18,7 @@ include_directories(
! 13: ../../src/common
! 14: ../../src/qt
! 15: ../../src/linux
! 16: + ${GPS_INCLUDE_DIRS}
! 17: )
! 18:
! 19: # All header files go here
! 20: @@ -230,4 +232,4 @@ include( ${QT_USE_FILE} )
! 21: add_executable( NaviPOWM ${SRC_FILES} ${HDR_FILES})
! 22:
! 23: # Link Qt to the executable
! 24: -target_link_libraries( NaviPOWM ${QT_LIBRARIES} gps)
! 25: +target_link_libraries( NaviPOWM ${QT_LIBRARIES} ${GPS_LIBRARIES} )
CVSweb