mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
Add Cmake option - ONLY_LIBS
This commit is contained in:
parent
5408d71c61
commit
dac0614780
@ -24,7 +24,7 @@ ELSE( )
|
||||
SET_PROPERTY( TARGET libglew_shared PROPERTY LIBRARY_OUTPUT_NAME "libglew" )
|
||||
ENDIF( )
|
||||
|
||||
IF( ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR} )
|
||||
IF( ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR} AND NOT ONLY_LIBS )
|
||||
ADD_EXECUTABLE( glewinfo ${SRC_DIR}/glewinfo.c )
|
||||
ADD_EXECUTABLE( visualinfo ${SRC_DIR}/visualinfo.c )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user