diff options
| author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-08-09 13:04:07 +0200 |
|---|---|---|
| committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-08-09 13:09:43 +0200 |
| commit | 609a2c2f0a402e00e1035753721f8d362de94f1c (patch) | |
| tree | d49dd664da93058c4fe6274edbb64c72508046f2 | |
| parent | 7c363fe1f7958a7e55b4c5d7dbddfd0e34ae7ead (diff) | |
enable selective exports in CMake builds
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e4060a..44206eb 100644 --- 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() |
