style mismatch

This commit is contained in:
per 2014-08-13 09:49:51 +02:00
parent 17fa396828
commit 9ac6bc4ebb

View File

@ -47,7 +47,7 @@ ENDIF( )
IF ( glew-cmake_BUILD_STATIC ) IF ( glew-cmake_BUILD_STATIC )
SET_PROPERTY( TARGET libglew_static PROPERTY ARCHIVE_OUTPUT_NAME "glew" ) SET_PROPERTY( TARGET libglew_static PROPERTY ARCHIVE_OUTPUT_NAME "glew" )
SET_PROPERTY( TARGET libglew_static PROPERTY DEBUG_POSTFIX d ) SET_PROPERTY( TARGET libglew_static PROPERTY DEBUG_POSTFIX d )
INSTALL(TARGETS libglew_static DESTINATION lib) INSTALL( TARGETS libglew_static DESTINATION lib )
ENDIF ( ) ENDIF ( )
IF ( glew-cmake_BUILD_SHARED ) IF ( glew-cmake_BUILD_SHARED )
@ -59,11 +59,11 @@ IF ( glew-cmake_BUILD_SHARED )
SET_PROPERTY( TARGET libglew_shared PROPERTY DEBUG_POSTFIX d ) SET_PROPERTY( TARGET libglew_shared PROPERTY DEBUG_POSTFIX d )
TARGET_LINK_LIBRARIES( libglew_shared ${GL_LIBRARY} ) TARGET_LINK_LIBRARIES( libglew_shared ${GL_LIBRARY} )
INSTALL(TARGETS libglew_shared DESTINATION lib) INSTALL( TARGETS libglew_shared DESTINATION lib )
ENDIF ( ) ENDIF ( )
file(GLOB PUBLIC_HEADERS "include/GL/*.h") FILE(GLOB PUBLIC_HEADERS "include/GL/*.h")
install(FILES ${PUBLIC_HEADERS} DESTINATION include/GL/) INSTALL(FILES ${PUBLIC_HEADERS} DESTINATION include/GL/)
IF( ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR} AND NOT ONLY_LIBS ) IF( ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR} AND NOT ONLY_LIBS )
SET( GLEWINFO_SRCS ${SRC_DIR}/glewinfo.c ) SET( GLEWINFO_SRCS ${SRC_DIR}/glewinfo.c )
@ -81,6 +81,5 @@ IF( ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR} AND NOT ONLY_LIBS )
TARGET_LINK_LIBRARIES( visualinfo libglew_static ${GL_LIBRARY} ) TARGET_LINK_LIBRARIES( visualinfo libglew_static ${GL_LIBRARY} )
ENDIF ( ) ENDIF ( )
INSTALL(TARGETS glewinfo visualinfo DESTINATION bin) INSTALL( TARGETS glewinfo visualinfo DESTINATION bin )
ENDIF( ) ENDIF( )