projects
/
rtaudio-cdist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
enable selective exports in CMake builds
[rtaudio-cdist.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 9e4060a0064d8af7a296e754e337e03f02b7aa7f..44206eb06e00e49a0b188307dfd2029b0fbdc351 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-216,6
+216,7
@@
if(BUILD_SHARED_LIBS)
# Set compile-time definitions
target_compile_definitions(rtaudio PRIVATE ${API_DEFS})
+ target_compile_definitions(rtaudio PRIVATE RTAUDIO_EXPORT)
target_link_libraries(rtaudio ${LINKLIBS})
endif()