From: Clément de l'Hamaide Date: Sat, 28 Sep 2013 20:44:55 +0000 (+0200) Subject: FGCom standalone: search *.txt as relative path X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5d17864d30ba23120940c449dd33c3437fecbc6f;hp=52e5a9abe83882ca946429f7d8e71894d5852d8f;p=flightgear.git FGCom standalone: search *.txt as relative path --- 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}" )