summaryrefslogtreecommitdiff
path: root/libs/libjson/CMakeLists.txt
blob: 1abc7d46520488c2bf6d2fe0cbb4abf93b810004 (plain)
1
2
3
4
5
6
7
8
9
10
file(GLOB SOURCES "src/*.h" "src/*.cpp")
if(CMAKE_CL_64)
	list(APPEND SOURCES "src/libjson64.def")
else()
	list(APPEND SOURCES "src/libjson.def")
endif()
set(TARGET libjson)
include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake)

set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "LIBJSON_EXPORTS")