mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-29 18:07:08 +00:00
Install directories set in single statement
This commit is contained in:
parent
def19e7de4
commit
5a7232fc53
@ -76,8 +76,8 @@ IF ( glew-cmake_BUILD_SHARED )
|
|||||||
|
|
||||||
TARGET_INCLUDE_DIRECTORIES( libglew_shared PUBLIC ${INCLUDE_DIR} )
|
TARGET_INCLUDE_DIRECTORIES( libglew_shared PUBLIC ${INCLUDE_DIR} )
|
||||||
TARGET_LINK_LIBRARIES( libglew_shared ${GL_LIBRARY} ${PLATFORM_SPECIFIC_LIBRARIES} )
|
TARGET_LINK_LIBRARIES( libglew_shared ${GL_LIBRARY} ${PLATFORM_SPECIFIC_LIBRARIES} )
|
||||||
INSTALL( TARGETS libglew_shared ARCHIVE DESTINATION lib )
|
INSTALL( TARGETS libglew_shared ARCHIVE DESTINATION lib
|
||||||
INSTALL( TARGETS libglew_shared RUNTIME DESTINATION bin )
|
RUNTIME DESTINATION bin)
|
||||||
ENDIF ( )
|
ENDIF ( )
|
||||||
|
|
||||||
IF ( glew-cmake_BUILD_MULTI_CONTEXT )
|
IF ( glew-cmake_BUILD_MULTI_CONTEXT )
|
||||||
@ -91,8 +91,8 @@ IF ( glew-cmake_BUILD_SHARED )
|
|||||||
TARGET_COMPILE_DEFINITIONS( libglewmx_shared INTERFACE GLEW_MX)
|
TARGET_COMPILE_DEFINITIONS( libglewmx_shared INTERFACE GLEW_MX)
|
||||||
TARGET_INCLUDE_DIRECTORIES( libglewmx_shared PUBLIC ${INCLUDE_DIR} )
|
TARGET_INCLUDE_DIRECTORIES( libglewmx_shared PUBLIC ${INCLUDE_DIR} )
|
||||||
TARGET_LINK_LIBRARIES( libglewmx_shared ${GL_LIBRARY} ${PLATFORM_SPECIFIC_LIBRARIES} )
|
TARGET_LINK_LIBRARIES( libglewmx_shared ${GL_LIBRARY} ${PLATFORM_SPECIFIC_LIBRARIES} )
|
||||||
INSTALL( TARGETS libglewmx_shared ARCHIVE DESTINATION lib )
|
INSTALL( TARGETS libglewmx_shared ARCHIVE DESTINATION lib
|
||||||
INSTALL( TARGETS libglewmx_shared RUNTIME DESTINATION bin )
|
RUNTIME DESTINATION bin )
|
||||||
ENDIF ( )
|
ENDIF ( )
|
||||||
ENDIF ( )
|
ENDIF ( )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user