Skip to content

Commit

Permalink
Remove vestigial options. (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd authored Oct 18, 2023
1 parent 1beb49f commit f67e8f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 76 deletions.
12 changes: 5 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ else()
message(WARNING "Conan Build file does not exist, trying to build without!")
endif()

if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
include (cmake/debug_flags.cmake)
else()
if((${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") OR (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang"))
remove_flag("-O[0-4]")
add_flags("-O2")
endif()
if (DEFINED BUILD_COVERAGE)
if (${BUILD_COVERAGE})
include (cmake/CodeCoverage.cmake)
APPEND_COVERAGE_COMPILER_FLAGS()
endif ()
endif()

if (DEFINED MEMORY_SANITIZER_ON AND ${MEMORY_SANITIZER_ON})
Expand Down
68 changes: 0 additions & 68 deletions cmake/debug_flags.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def requirements(self):
self.requires("pistache/0.0.5")
self.requires("zmarok-semver/1.1.0")
self.requires("openssl/3.1.1", override=True)
self.requires("libcurl/8.0.1", override=True)
self.requires("libcurl/8.2.1", override=True)

def build(self):
cmake = CMake(self)
Expand Down

0 comments on commit f67e8f6

Please sign in to comment.