summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-05 16:26:42 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-05 16:26:42 +0000
commita515d18c3fe6097445f9e5817a5a6576ca205a40 (patch)
treeb1b861c1e1d6a051c8e3fd5848ebd2641c971a28 /Graphics/GraphicsEngineOpenGL
parentAnother attempt to fix appveyor.yml (diff)
downloadDiligentCore-a515d18c3fe6097445f9e5817a5a6576ca205a40.tar.gz
DiligentCore-a515d18c3fe6097445f9e5817a5a6576ca205a40.zip
Enabled custom build configuration
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
index d867df43..551b57fb 100644
--- a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
+++ b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
@@ -201,12 +201,10 @@ target_link_libraries(GraphicsEngineOpenGL-shared PRIVATE ${PRIVATE_DEPENDENCIES
target_compile_definitions(GraphicsEngineOpenGL-shared PUBLIC ENGINE_DLL=1 PRIVATE BUILDING_DLL=1)
if(PLATFORM_WIN32)
- set_target_properties(GraphicsEngineOpenGL-shared PROPERTIES
- OUTPUT_NAME_DEBUG GraphicsEngineOpenGL${DLL_DBG_SUFFIX}
- OUTPUT_NAME_RELEASE GraphicsEngineOpenGL${DLL_REL_SUFFIX}
- OUTPUT_NAME_RELWITHDEBINFO GraphicsEngineOpenGL${DLL_REL_SUFFIX}
- OUTPUT_NAME_MINSIZEREL GraphicsEngineOpenGL${DLL_REL_SUFFIX}
- )
+
+ # Set output name to GraphicsEngineOpenGL_{32|64}{r|d}
+ set_dll_output_name(GraphicsEngineOpenGL-shared GraphicsEngineOpenGL)
+
else()
set_target_properties(GraphicsEngineOpenGL-shared PROPERTIES
OUTPUT_NAME GraphicsEngineOpenGL