mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
CMake: Remove redundant -DNDEBUG
This reverts a42f1a49a4892fbae168c5c63edb83abd8a10c6d, which should have been reverted by faced9aa499ece4e5e294cc548f571c450ef1df1.
This commit is contained in:
parent
5fa4af9189
commit
13a19109d4
@ -245,11 +245,6 @@ function(interrogate_sources target output database language_flags)
|
|||||||
endif()
|
endif()
|
||||||
endforeach(_config)
|
endforeach(_config)
|
||||||
|
|
||||||
# In case the user (or a distro buildsystem) is throwing NDEBUG in by hand:
|
|
||||||
if(CMAKE_CXX_FLAGS MATCHES ".*NDEBUG.*")
|
|
||||||
list(APPEND define_flags "-DNDEBUG")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
get_filename_component(output_directory "${output}" DIRECTORY)
|
get_filename_component(output_directory "${output}" DIRECTORY)
|
||||||
get_filename_component(database_directory "${database}" DIRECTORY)
|
get_filename_component(database_directory "${database}" DIRECTORY)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user