diff --git a/CMakeLists.txt b/CMakeLists.txt index 8cf41f9..02b11be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ if (WITH_X264) include_directories(${X264_INCLUDE_DIR}) target_link_libraries(${PROJECT_NAME} ${X264_LIBRARIES}) add_definitions(-DHAVE_X264) - else + else() message(FATAL_ERROR "x264 enabled but not found") endif() endif()