summaryrefslogtreecommitdiffstats
path: root/tests/libsample/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/CMakeLists.txt')
-rw-r--r--tests/libsample/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsample/CMakeLists.txt b/tests/libsample/CMakeLists.txt
index 5633a4c8..534931aa 100644
--- a/tests/libsample/CMakeLists.txt
+++ b/tests/libsample/CMakeLists.txt
@@ -27,8 +27,8 @@ str.cpp
virtualmethods.cpp
)
-add_definitions("-fvisibility=default")
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+add_definitions("-DLIBSAMPLE_BUILD")
add_library(libsample SHARED ${libsample_SRC})
set_property(TARGET libsample PROPERTY PREFIX "")