X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=CMakeLists.txt;h=7f75d07f9940b3cfa395633f94a9c6a6316e37f3;hb=cdefc48190b163312dc42ddae99025cdeae845d9;hp=f5b7c34d0bb6fe914e1abc62645133711cb87089;hpb=8d1d532f4bcd04bc2855980669dc6cabec0c6415;p=apitrace diff --git a/CMakeLists.txt b/CMakeLists.txt index f5b7c34..7f75d07 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) @@ -325,6 +326,7 @@ add_library (common STATIC common/image_bmp.cpp common/image_pnm.cpp common/image_png.cpp + common/trace_option.cpp common/${os} )