Commit ef79a993 authored by Frank Barchard's avatar Frank Barchard

cmake move libyuv_unittest target into the if(TEST) condition

BUG=libyuv:579
TESTED=mkdir build && cd build && cmake .. && cmake --build . --config Release
R=kjellander@chromium.org

Review URL: https://codereview.chromium.org/1847233002 .
parent 5065743a
...@@ -128,13 +128,14 @@ if(TEST) ...@@ -128,13 +128,14 @@ if(TEST)
if (JPEG_FOUND) if (JPEG_FOUND)
target_link_libraries(libyuv_unittest ${JPEG_LIBRARY}) target_link_libraries(libyuv_unittest ${JPEG_LIBRARY})
endif() endif()
endif()
if(NACL AND NACL_LIBC STREQUAL "newlib") if(NACL AND NACL_LIBC STREQUAL "newlib")
target_link_libraries(libyuv_unittest glibc-compat) target_link_libraries(libyuv_unittest glibc-compat)
endif() endif()
target_link_libraries(libyuv_unittest gflags) target_link_libraries(libyuv_unittest gflags)
endif()
install(TARGETS ${ly_lib_name} DESTINATION lib) install(TARGETS ${ly_lib_name} DESTINATION lib)
install(FILES ${ly_header_files} DESTINATION include/libyuv) install(FILES ${ly_header_files} DESTINATION include/libyuv)
......
Name: libyuv Name: libyuv
URL: http://code.google.com/p/libyuv/ URL: http://code.google.com/p/libyuv/
Version: 1580 Version: 1581
License: BSD License: BSD
License File: LICENSE License File: LICENSE
......
...@@ -11,6 +11,6 @@ ...@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_ #define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1580 #define LIBYUV_VERSION 1581
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment