From 7231125e6fb1e541aab1d67db744d4c38a07b749 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 9 Jun 2019 13:45:50 -0700 Subject: Added 'Diligent-' prefix to project names to avoid name conflicts (https://github.com/DiligentGraphics/DiligentEngine/issues/20) --- Graphics/GraphicsEngine/CMakeLists.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/CMakeLists.txt b/Graphics/GraphicsEngine/CMakeLists.txt index b7fbc23d..7744e323 100644 --- a/Graphics/GraphicsEngine/CMakeLists.txt +++ b/Graphics/GraphicsEngine/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.6) -project(GraphicsEngine CXX) +project(Diligent-GraphicsEngine CXX) set(INCLUDE include/BufferBase.h @@ -64,31 +64,31 @@ set(SOURCE src/Texture.cpp ) -add_library(GraphicsEngine STATIC ${SOURCE} ${INTERFACE} ${INCLUDE}) -set_common_target_properties(GraphicsEngine) +add_library(Diligent-GraphicsEngine STATIC ${SOURCE} ${INTERFACE} ${INCLUDE}) +set_common_target_properties(Diligent-GraphicsEngine) -target_include_directories(GraphicsEngine +target_include_directories(Diligent-GraphicsEngine PUBLIC include interface ) -target_link_libraries(GraphicsEngine +target_link_libraries(Diligent-GraphicsEngine PUBLIC - BuildSettings - PlatformInterface - Common - GraphicsAccessories + Diligent-BuildSettings + Diligent-PlatformInterface + Diligent-Common + Diligent-GraphicsAccessories ) source_group("src" FILES ${SOURCE}) source_group("include" FILES ${INCLUDE}) source_group("interface" FILES ${INTERFACE}) -set_target_properties(GraphicsEngine PROPERTIES - FOLDER Core/Graphics +set_target_properties(Diligent-GraphicsEngine PROPERTIES + FOLDER DiligentCore/Graphics ) if(INSTALL_DILIGENT_CORE) - install_core_lib(GraphicsEngine) + install_core_lib(Diligent-GraphicsEngine) endif() \ No newline at end of file -- cgit v1.2.3