summaryrefslogtreecommitdiff
blob: 2b5c71a37cb50ed0a8aba7a5a2cbcf6941e3e079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e02ce90c..6d4f5342 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,7 +48,7 @@ endif()
     string(REGEX REPLACE "^v" "" OSD_SONAME ${OSD_SONAME})
 
     add_definitions(
-        -DOPENSUBDIV_VERSION_STRING="${OSD_SONAME}"
+        -DOPENSUBDIV_VERSION_STRING=\\\"${OSD_SONAME}\\\"
     )
 
 #-------------------------------------------------------------------------------