mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Make it compatible with conan.io (but optional).
This commit is contained in:
parent
a71c0a0edb
commit
c03d3b2d5a
@ -1,8 +1,10 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project (crow_all)
|
||||
|
||||
if(EXISTS "${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
|
||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||
conan_basic_setup()
|
||||
endif()
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
|
||||
find_package(Tcmalloc)
|
||||
@ -28,13 +30,13 @@ endif()
|
||||
|
||||
include_directories( ${Boost_INCLUDE_DIR} )
|
||||
|
||||
set(PROJECT_INCLUDE_DIR
|
||||
set(PROJECT_INCLUDE_DIR
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
include_directories("${PROJECT_INCLUDE_DIR}")
|
||||
include_directories("${PROJECT_SOURCE_DIR}")
|
||||
|
||||
|
||||
#add_subdirectory(src)
|
||||
add_subdirectory(examples)
|
||||
if (MSVC)
|
||||
|
Loading…
Reference in New Issue
Block a user