Commit 166b8896 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

asterx1_gps: fixed example CMakeLists depending on gpsToolkitLibrary presence

parent 73ac8a3e
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
ADD_EXECUTABLE(testasterx1 testasterx1.cpp) ADD_EXECUTABLE(testasterx1 testasterx1.cpp)
# edit the following line to add the necessary libraries # edit the following line to add the necessary libraries
TARGET_LINK_LIBRARIES(testasterx1 asterx1_gps asterx1_process) IF(gpstk_LIBRARY)
TARGET_LINK_LIBRARIES(testasterx1 asterx1_process)
ENDIF(gpstk_LIBRARY)
TARGET_LINK_LIBRARIES(testasterx1 asterx1_gps)
#fast building #fast building
# ADD_EXECUTABLE(testasterx1 testasterx1.cpp ../asterx1.cpp) # ADD_EXECUTABLE(testasterx1 testasterx1.cpp ../asterx1.cpp)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment