mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
9298065cef
CPR has features disabled and PCRE is fully disabled until updated to new code.
14 lines
450 B
CMake
14 lines
450 B
CMake
# Create the inja template library
|
|
add_library(inja STATIC
|
|
include/inja/inja.hpp inja.cpp
|
|
)
|
|
# Configure include folders
|
|
target_include_directories(inja PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
|
target_include_directories(inja PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
|
# Configure macro options
|
|
if (WIN32)
|
|
target_compile_definitions(inja PRIVATE _WIN32_WINNT=0x0601)
|
|
endif()
|
|
# Link to nlohmann json library
|
|
target_link_libraries(inja PUBLIC nlohmann_json)
|