diff --git a/CMakeLists.txt b/CMakeLists.txt index 72bde6f..0dabd0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,7 +63,6 @@ get_git_commit_subject(GIT_COMMIT_SUBJECT) set(THIRD_PARTY_INCLUDE_DIRS "third_party/json" "third_party/inja" "third_party/sigslot" "${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include") include_directories(${THIRD_PARTY_INCLUDE_DIRS}) -add_subdirectory("third_party/context") add_subdirectory("third_party/zlib") add_subdirectory("third_party/fmt") add_subdirectory("third_party/googletest") @@ -71,6 +70,7 @@ add_subdirectory("third_party/gflags") set(GFLAGS_USE_TARGET_NAMESPACE ON) set(gflags_DIR "${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags") add_subdirectory("third_party/glog") +add_subdirectory("third_party/context") set(CURL_DISABLE_TESTS ON) set(CURL_CA_PATH "none" CACHE STRING "" FORCE) diff --git a/third_party/context/CMakeLists.txt b/third_party/context/CMakeLists.txt index cf8db97..19089fa 100644 --- a/third_party/context/CMakeLists.txt +++ b/third_party/context/CMakeLists.txt @@ -10,7 +10,7 @@ cmake_minimum_required(VERSION 3.5...3.16) project( nova_context VERSION 0.1.0 - LANGUAGES C ASM) + LANGUAGES C CXX ASM) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)