Commit c5bd55e9 authored by Chad Versace's avatar Chad Versace
Browse files

cmake: Don't add source dirs as link dirs



This fixes out-of-source builds, and does not harm in-source builds.

CMake is intelligent enough to add the appropriate link directories
itself.
Signed-off-by: default avatarChad Versace <chad.versace@intel.com>
parent 486a811d
......@@ -5,10 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -6,10 +6,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/mesa/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -5,10 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -6,11 +6,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/mesa/util
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -5,10 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -6,11 +6,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util/glut_egl
)
link_directories (
${piglit_SOURCE_DIR}/tests/util/
${piglit_SOURCE_DIR}/tests/util/glut_egl
)
link_libraries (
${OPENGL_gles2_LIBRARY}
${OPENGL_egl_LIBRARY}
......
......@@ -5,10 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -5,10 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitglxutil
${OPENGL_gl_LIBRARY}
......
......@@ -5,10 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/mesa/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/mesa/util
)
link_libraries (
${OPENGL_gl_LIBRARY}
${OPENGL_glu_LIBRARY}
......
......@@ -6,11 +6,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/mesa/util
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -5,11 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -6,11 +6,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/mesa/util
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -4,10 +4,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -5,11 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -5,11 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/spec/arb_color_buffer_float
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
......@@ -5,10 +5,6 @@ include_directories(
${piglit_SOURCE_DIR}/tests/util
)
link_directories (
${piglit_SOURCE_DIR}/tests/util
)
link_libraries (
piglitutil
${OPENGL_gl_LIBRARY}
......
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