[Piglit] [PATCH 3/3] cmake, gles: Remove target from the lib list

Jose Fonseca jfonseca at vmware.com
Fri Feb 20 04:03:27 PST 2015


On 12/12/14 19:33, Jan Vesely wrote:
> Fixes Target links to itself cmake warnings
>
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
>
> compile tested. no missing symbols or libraries reported for libpiglitutils_glesX.so
>
>   tests/util/CMakeLists.gles1.txt | 1 -
>   tests/util/CMakeLists.gles2.txt | 1 -
>   tests/util/CMakeLists.gles3.txt | 1 -
>   3 files changed, 3 deletions(-)
>
> diff --git a/tests/util/CMakeLists.gles1.txt b/tests/util/CMakeLists.gles1.txt
> index 4342cf2..cd9e90d 100644
> --- a/tests/util/CMakeLists.gles1.txt
> +++ b/tests/util/CMakeLists.gles1.txt
> @@ -4,7 +4,6 @@ include_directories(
>
>   link_libraries(
>   	${UTIL_GL_LIBS}
> -	piglitutil_${piglit_target_api}
>   	)
>
>   piglit_add_library(piglitutil_${piglit_target_api}
> diff --git a/tests/util/CMakeLists.gles2.txt b/tests/util/CMakeLists.gles2.txt
> index 4342cf2..cd9e90d 100644
> --- a/tests/util/CMakeLists.gles2.txt
> +++ b/tests/util/CMakeLists.gles2.txt
> @@ -4,7 +4,6 @@ include_directories(
>
>   link_libraries(
>   	${UTIL_GL_LIBS}
> -	piglitutil_${piglit_target_api}
>   	)
>
>   piglit_add_library(piglitutil_${piglit_target_api}
> diff --git a/tests/util/CMakeLists.gles3.txt b/tests/util/CMakeLists.gles3.txt
> index fec284a..a23c0c7 100644
> --- a/tests/util/CMakeLists.gles3.txt
> +++ b/tests/util/CMakeLists.gles3.txt
> @@ -4,7 +4,6 @@ include_directories(
>
>   link_libraries(
>   	${UTIL_GL_LIBS}
> -	piglitutil_${piglit_target_api}
>   	)
>
>   piglit_add_library(piglitutil_${piglit_target_api}
>

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the Piglit mailing list