From 5d17864d30ba23120940c449dd33c3437fecbc6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= Date: Sat, 28 Sep 2013 22:44:55 +0200 Subject: [PATCH] FGCom standalone: search *.txt as relative path --- utils/fgcom/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/fgcom/CMakeLists.txt b/utils/fgcom/CMakeLists.txt index 31b1d3615..ae2213dd5 100644 --- a/utils/fgcom/CMakeLists.txt +++ b/utils/fgcom/CMakeLists.txt @@ -5,10 +5,10 @@ # then to define the files themselves, in their 'installed' # location, not their source location... if (NOT DEFAULT_POSITIONS_FILE) - set(DEFAULT_POSITIONS_FILE "${PKGDATAPATH}/positions.txt") + set(DEFAULT_POSITIONS_FILE "../share/flightgear/positions.txt") endif () if (NOT SPECIAL_FREQUENCIES_FILE) - set(SPECIAL_FREQUENCIES_FILE "${PKGDATAPATH}/special_frequencies.txt") + set(SPECIAL_FREQUENCIES_FILE "../share/flightgear/special_frequencies.txt") endif () # pass these to the compiler add_definitions( -DDEFAULT_POSITIONS_FILE="${DEFAULT_POSITIONS_FILE}" ) -- 2.39.2