summaryrefslogtreecommitdiff
path: root/volk/lib
diff options
context:
space:
mode:
Diffstat (limited to 'volk/lib')
-rw-r--r--volk/lib/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/volk/lib/CMakeLists.txt b/volk/lib/CMakeLists.txt
index f3ee2ab3d..5dd41be0f 100644
--- a/volk/lib/CMakeLists.txt
+++ b/volk/lib/CMakeLists.txt
@@ -135,8 +135,8 @@ SET(volk_gen_sources
${CMAKE_BINARY_DIR}/lib/volk_cpu.c
${CMAKE_BINARY_DIR}/include/volk/volk_config_fixed.h
${CMAKE_BINARY_DIR}/lib/volk_environment_init.c
- ${CMAKE_BINARY_DIR}/include/volk/volk_environment_init.h
- ${CMAKE_BINARY_DIR}/include/volk/volk_machines.h
+ ${CMAKE_BINARY_DIR}/lib/volk_environment_init.h
+ ${CMAKE_BINARY_DIR}/lib/volk_machines.h
${CMAKE_BINARY_DIR}/lib/volk_machines.c
${machine_sources}
)
@@ -193,6 +193,10 @@ ENDIF()
########################################################################
# Setup the volk sources list and library
########################################################################
+IF(NOT WIN32)
+ ADD_DEFINITIONS(-fvisibility=hidden)
+ENDIF()
+
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/include
${CMAKE_BINARY_DIR}/include