From ba5b057302cb654fa8720863393c91650da73eba Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 7 Nov 2014 21:44:16 +0100 Subject: [PATCH] Fix macports compilation --- src/main/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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