summaryrefslogtreecommitdiff
path: root/LayerManagerPlugins/Renderers/Graphic/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'LayerManagerPlugins/Renderers/Graphic/CMakeLists.txt')
-rw-r--r--LayerManagerPlugins/Renderers/Graphic/CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/LayerManagerPlugins/Renderers/Graphic/CMakeLists.txt b/LayerManagerPlugins/Renderers/Graphic/CMakeLists.txt
index 0a8b2c4..a938fdb 100644
--- a/LayerManagerPlugins/Renderers/Graphic/CMakeLists.txt
+++ b/LayerManagerPlugins/Renderers/Graphic/CMakeLists.txt
@@ -69,10 +69,6 @@ file(GLOB GRAPHIC_TRANSFORM_INCLUDES
include/Transformation/ViewportTransform.h
)
-if (WITH_TESTS)
- add_subdirectory (tests)
-endif(WITH_TESTS)
-
endif(WITH_GLESv2_LIB)
if (WITH_GLX_LIB)
@@ -119,7 +115,10 @@ file(GLOB GRAPHIC_TRANSFORM_INCLUDES
endif(WITH_GLX_LIB)
-
+if (WITH_TESTS)
+ add_subdirectory (tests)
+endif(WITH_TESTS)
+
add_library(${GRAPHIC_LIB_NAME} SHARED ${SOURCES})
find_package(X11 REQUIRED)