mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
12 lines
388 B
CMake
12 lines
388 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(program)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/libstudxml)
|
|
|
|
if(BUILD_DEPS)
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/zlib)
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/cryptopp)
|
|
add_dependencies(libstudxml zlib-download cryptopp-download)
|
|
endif()
|