]> git.mxchange.org Git - flightgear.git/commitdiff
FGCom standalone: search *.txt as relative path
authorClément de l'Hamaide <clemaez@hotmail.fr>
Sat, 28 Sep 2013 20:44:55 +0000 (22:44 +0200)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Sat, 28 Sep 2013 20:45:07 +0000 (22:45 +0200)
utils/fgcom/CMakeLists.txt

index 31b1d3615d2c394341182f8253552419572192c7..ae2213dd597188262422ebcb97db979a0d3c4b7c 100644 (file)
@@ -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}" )