summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author <philippe colliot>2015-08-05 14:34:02 +0200
committer <philippe colliot>2015-08-05 14:34:02 +0200
commitbbaf1d347c28003d6ad2012939afbb0525ecab6f (patch)
tree73db110b94f4b8c46b5d8b79085d792ba23a08e4
parent2dd1022d0bf232b2540f1a66ea310c12bc4c2d61 (diff)
downloadpoi-service-bbaf1d347c28003d6ad2012939afbb0525ecab6f.tar.gz
no need to add positioning when yocto is on
-rw-r--r--src/navigation/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/navigation/CMakeLists.txt b/src/navigation/CMakeLists.txt
index 7711766..5973927 100644
--- a/src/navigation/CMakeLists.txt
+++ b/src/navigation/CMakeLists.txt
@@ -80,13 +80,12 @@ if(NOT ${YOCTO_CONFIG})
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/positioning")
message(FATAL_ERROR "Don't you forget to download additional code ? Please see README first")
endif()
+ add_subdirectory(positioning)
endif()
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
-add_subdirectory(positioning)
-
unset(CMAKE_LIBRARY_OUTPUT_DIRECTORY)
unset(CMAKE_RUNTIME_OUTPUT_DIRECTORY)