![]() ![]() | ![]() |
File: [local] / ports / geo / navipowm / patches / patch-build_cmake_CMakeLists_txt (download)
Revision 1.1.1.1 (vendor branch), Sun Jan 15 10:32:22 2012 UTC (12 years, 7 months ago) by yason
import |
$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} )