Return to patch-build_cmake_CMakeLists_txt CVS log | Up to [local] / qmapshack / navipowm / patches |
File: [local] / qmapshack / navipowm / patches / patch-build_cmake_CMakeLists_txt (download)
Revision 1.1.1.1 (vendor branch), Sun Apr 3 18:56:42 2016 UTC (8 years, 3 months ago) by kirby
import qmapshack |
$OpenBSD$ --- build/cmake/CMakeLists.txt.orig Tue Jul 5 23:42:20 2011 +++ build/cmake/CMakeLists.txt Mon Jan 2 19:24:50 2012 @@ -5,6 +5,7 @@ cmake_minimum_required( VERSION 2.4.8) # This project requires Qt4 find_package( Qt4 REQUIRED ) +find_package( Gps REQUIRED ) # make a release SET ( CMAKE_BUILD_TYPE release ) @@ -17,6 +18,7 @@ include_directories( ../../src/common ../../src/qt ../../src/linux + ${GPS_INCLUDE_DIRS} ) # All header files go here @@ -230,4 +232,4 @@ include( ${QT_USE_FILE} ) add_executable( NaviPOWM ${SRC_FILES} ${HDR_FILES}) # Link Qt to the executable -target_link_libraries( NaviPOWM ${QT_LIBRARIES} gps) +target_link_libraries( NaviPOWM ${QT_LIBRARIES} ${GPS_LIBRARIES} )