projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c363fe
)
enable selective exports in CMake builds
author
JP Cimalando
<jpcima@users.noreply.github.com>
Thu, 9 Aug 2018 11:04:07 +0000
(13:04 +0200)
committer
JP Cimalando
<jpcima@users.noreply.github.com>
Thu, 9 Aug 2018 11:09:43 +0000
(13:09 +0200)
CMakeLists.txt
patch
|
blob
|
history
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()