Enable asserts in Moonlight-Common-C when building in debug mode

This commit is contained in:
Cameron Gutman committed 2015-07-15 19:30:58 -04:00
1 parent 899fc0648e
commit 94f20e510b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ endif()
if(CMAKE_BUILD_TYPE MATCHES Debug) if(CMAKE_BUILD_TYPE MATCHES Debug)
list(APPEND SRC_LIST ./src/video/fake.c) list(APPEND SRC_LIST ./src/video/fake.c)
list(APPEND MOONLIGHT_DEFINITIONS HAVE_FAKE) list(APPEND MOONLIGHT_DEFINITIONS HAVE_FAKE LC_DEBUG)
elseif(NOT BROADCOM_FOUND AND NOT FREESCALE_FOUND) elseif(NOT BROADCOM_FOUND AND NOT FREESCALE_FOUND)
message(FATAL_ERROR "No video output available") message(FATAL_ERROR "No video output available")
endif() endif()