diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt index a233e3e94..bc33603ac 100644 --- a/src/main/CMakeLists.txt +++ b/src/main/CMakeLists.txt @@ -91,4 +91,6 @@ install(DIRECTORY DESTINATION etc/gnss-sdr/data/) install(FILES ${CMAKE_SOURCE_DIR}/conf/gnss-sdr.conf DESTINATION etc/gnss-sdr/conf RENAME default.conf) -install(PROGRAMS ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/build/apps/volk_gnsssdr_profile DESTINATION bin) \ No newline at end of file +if(NOT VOLK_GNSSSDR_FOUND) + install(PROGRAMS ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/build/apps/volk_gnsssdr_profile DESTINATION bin) +endif(NOT VOLK_GNSSSDR_FOUND) \ No newline at end of file