2018-06-25 09:44:58 +02:00
|
|
|
# CMakeLists.txt.
|
|
|
|
#
|
2022-12-14 17:41:58 +01:00
|
|
|
# @author Steffen Vogel <post@steffenvogel.de>
|
2022-03-15 09:28:57 -04:00
|
|
|
# @copyright 2014-2022, Institute for Automation of Complex Power Systems, EONERC
|
2022-07-04 18:20:03 +02:00
|
|
|
# @license Apache 2.0
|
2018-06-25 09:44:58 +02:00
|
|
|
###################################################################################
|
2023-06-22 11:17:53 +02:00
|
|
|
|
|
|
|
# don't treat warnings as errors on normal release builds
|
|
|
|
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND NOT DEFINED VILLAS_COMPILE_WARNING_AS_ERROR)
|
|
|
|
set(VILLAS_COMPILE_WARNING_AS_ERROR OFF)
|
|
|
|
endif()
|