project(json11)

cmake_minimum_required(VERSION 2.8)

if(NOT MSVC)
    add_definitions(
        -std=c++11
        -fno-rtti
        -fno-exceptions
        -Wall
        -Wextra
        -Werror)
endif()

set(json11_SRCS json11.cpp)

add_library(json11 STATIC ${json11_SRCS})

project(json11)

cmake_minimum_required(VERSION 2.8)

if(NOT MSVC)
    add_definitions(
        -std=c++11
        -fno-rtti
        -fno-exceptions
        -fPIC
        -Wall
        -Wextra
        -Werror)
endif()

set(json11_SRCS json11.cpp)

add_library(json11 STATIC ${json11_SRCS})

Fix json11 compilation when UNITY_PLUGIN is set on linux.
Fix json11 compilation when UNITY_PLUGIN is set on linux.
