Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -Werror being set in releases #21

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ set(PROJECT_NAME dynamic-graph-tutorial)
set(PROJECT_DESCRIPTION "Tutorial for dynamic-graph")
set(PROJECT_URL "https://github.com/${PROJECT_ORG}/${PROJECT_NAME}")

if(NOT "${CMAKE_BUILD_TYPE}" MATCHES "Debug")
set(CXX_DISABLE_WERROR ON)
endif()

# Project options
option(BUILD_PYTHON_INTERFACE "Build the python bindings" ON)
option(INSTALL_PYTHON_INTERFACE_ONLY "Install *ONLY* the python bindings" OFF)
Expand Down