summaryrefslogtreecommitdiff
path: root/libs/libjson/CMakeLists.txt
blob: acee3481360de4ec0191a9e9c38f0759ad2b5b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
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")
target_link_libraries(${TARGET} mir_app)