From 5a7232fc53496fe667d53fc9c98206b644befd12 Mon Sep 17 00:00:00 2001 From: GekkieHenkie <33967804+GekkieHenkie@users.noreply.github.com> Date: Tue, 9 Apr 2019 23:59:48 +0200 Subject: [PATCH] Install directories set in single statement --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e20476..aaa6d09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,8 +76,8 @@ IF ( glew-cmake_BUILD_SHARED ) TARGET_INCLUDE_DIRECTORIES( libglew_shared PUBLIC ${INCLUDE_DIR} ) TARGET_LINK_LIBRARIES( libglew_shared ${GL_LIBRARY} ${PLATFORM_SPECIFIC_LIBRARIES} ) - INSTALL( TARGETS libglew_shared ARCHIVE DESTINATION lib ) - INSTALL( TARGETS libglew_shared RUNTIME DESTINATION bin ) + INSTALL( TARGETS libglew_shared ARCHIVE DESTINATION lib + RUNTIME DESTINATION bin) ENDIF ( ) IF ( glew-cmake_BUILD_MULTI_CONTEXT ) @@ -91,8 +91,8 @@ IF ( glew-cmake_BUILD_SHARED ) TARGET_COMPILE_DEFINITIONS( libglewmx_shared INTERFACE GLEW_MX) TARGET_INCLUDE_DIRECTORIES( libglewmx_shared PUBLIC ${INCLUDE_DIR} ) TARGET_LINK_LIBRARIES( libglewmx_shared ${GL_LIBRARY} ${PLATFORM_SPECIFIC_LIBRARIES} ) - INSTALL( TARGETS libglewmx_shared ARCHIVE DESTINATION lib ) - INSTALL( TARGETS libglewmx_shared RUNTIME DESTINATION bin ) + INSTALL( TARGETS libglewmx_shared ARCHIVE DESTINATION lib + RUNTIME DESTINATION bin ) ENDIF ( ) ENDIF ( )