Add conan integration
This commit is contained in:
@@ -7,7 +7,6 @@ project(Folding
|
||||
)
|
||||
|
||||
find_package(Torch REQUIRED)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
|
||||
|
||||
if (POLICY CMP0135)
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
@@ -24,15 +23,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
||||
|
||||
# Options
|
||||
# -------
|
||||
option(ENABLE_TESTING "Unit testing build" OFF)
|
||||
|
||||
# CMakes modules
|
||||
# --------------
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
|
||||
include(AddGitSubmodule)
|
||||
|
||||
# Subdirectories
|
||||
# --------------
|
||||
option(ENABLE_TESTING "Unit testing build" OFF)
|
||||
|
||||
# Testing
|
||||
# -------
|
||||
@@ -45,4 +36,6 @@ if (ENABLE_TESTING)
|
||||
add_subdirectory(tests)
|
||||
endif (ENABLE_TESTING)
|
||||
|
||||
# Library
|
||||
# --------
|
||||
add_library(folding INTERFACE folding.hpp)
|
||||
|
Reference in New Issue
Block a user