]> git.cworth.org Git - apitrace/blobdiff - CMakeLists.txt
Fix QJSON linkage on Windows builds.
[apitrace] / CMakeLists.txt
index f5b7c34d0bb6fe914e1abc62645133711cb87089..83490d56b3d7e17c2230a6ccd0c7d9c725e25acc 100644 (file)
@@ -224,6 +224,7 @@ endif ()
 # - To make it easier to build the GUI on Windows and MacOSX, as there are no
 # binaries at all.
 if (QT4_FOUND)
+    add_definitions (-DQJSON_EXPORT=)
     add_subdirectory (thirdparty/qjson EXCLUDE_FROM_ALL)
     set (QJSON_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty)
     set (QJSON_LIBRARY_DIRS)