summaryrefslogtreecommitdiff
path: root/libs/libjson/CMakeLists.txt
blob: 62b68e2eb2265f5a0b98e5e22a52bf20c5017f7d (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")