aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-06-23 16:33:25 -0700
committeratkawa7 <atkawa7@yahoo.com>2017-06-23 16:33:25 -0700
commit2100e95c25db8b76058d9e125c5b2fcdce9fd74a (patch)
treef041aab2b5ede745e6eebcaa1e1f89fe62921187
parentac9cec6e1c3eea8d9dd28f94a3299bb4062fc224 (diff)
downloadvcpkg-2100e95c25db8b76058d9e125c5b2fcdce9fd74a.tar.gz
vcpkg-2100e95c25db8b76058d9e125c5b2fcdce9fd74a.zip
Small fix BUILD_SHARED_LIBS
-rw-r--r--ports/rtmidi/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/rtmidi/CMakeLists.txt b/ports/rtmidi/CMakeLists.txt
index 6a09540b8..f334a598e 100644
--- a/ports/rtmidi/CMakeLists.txt
+++ b/ports/rtmidi/CMakeLists.txt
@@ -21,7 +21,7 @@ endif()
file(READ "${PROJECT_SOURCE_DIR}/rtmidi_c.h" RTMIDI_EXPORT)
-if (BUILD_SHARED)
+if (BUILD_SHARED_LIBS)
string(REPLACE "if defined(RTMIDI_EXPORT)" "if 1" RTMIDI_EXPORT "${RTMIDI_EXPORT}")
else()
string(REPLACE "if defined(RTMIDI_EXPORT)" "if 0" RTMIDI_EXPORT "${RTMIDI_EXPORT}")