cmake_minimum_required(VERSION 3.1)

project(disccord)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wno-sign-append")
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

option(DISCCORD_BUILD_STATIC "build disccord as a static library" OFF)
option(DISCCORD_BUILD_TESTS "build and run disccord tests" ON)

add_subdirectory(lib)

if(DISCCORD_BUILD_TESTS)
    add_subdirectory(tests)
    enable_testing()
endif()
cmake_minimum_required(VERSION 3.1)

project(disccord)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wno-sign-append")
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

option(DISCCORD_BUILD_STATIC "build disccord as a static library" OFF)
option(DISCCORD_BUILD_TESTS "build and run disccord tests" ON)

add_subdirectory(lib)

if(DISCCORD_BUILD_TESTS)
    enable_testing()
    add_subdirectory(tests)
endif()
Fix issue where tests would not be detected
Fix issue where tests would not be detected
