X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=83490d56b3d7e17c2230a6ccd0c7d9c725e25acc;hb=68267d04b883070d6be7a582849d12131cc4b36d;hp=f5b7c34d0bb6fe914e1abc62645133711cb87089;hpb=83efce7fb4eb9714a48c1e2b278c9a491cd95d8b;p=apitrace diff --git a/CMakeLists.txt b/CMakeLists.txt index f5b7c34..83490d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)