PageRenderTime 46ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/cmake/JsonCpp.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 22 lines | 18 code | 3 blank | 1 comment | 3 complexity | 49ea33fa66e5d0cd604d0b500e58bf70 MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. include(Prebuilt)
  3. set(JSONCPP_FIND_QUIETLY ON)
  4. set(JSONCPP_FIND_REQUIRED ON)
  5. if (STANDALONE)
  6. include(FindJsonCpp)
  7. else (STANDALONE)
  8. use_prebuilt_binary(jsoncpp)
  9. if (WINDOWS)
  10. set(JSONCPP_LIBRARIES
  11. debug json_vc100debug_libmt.lib
  12. optimized json_vc100_libmt)
  13. elseif (DARWIN)
  14. set(JSONCPP_LIBRARIES libjson_linux-gcc-4.0.1_libmt.a)
  15. elseif (LINUX)
  16. set(JSONCPP_LIBRARIES libjson_linux-gcc-4.1.3_libmt.a)
  17. endif (WINDOWS)
  18. set(JSONCPP_INCLUDE_DIRS "${LIBS_PREBUILT_DIR}/include/jsoncpp" "${LIBS_PREBUILT_DIR}/include/json")
  19. endif (STANDALONE)