try to auto-detect static glew (less dll dependencies)
This commit is contained in:
parent
8207411c38
commit
34d1f4b69d
@ -45,6 +45,10 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
add_definitions(-DCURL_STATICLIB)
|
add_definitions(-DCURL_STATICLIB)
|
||||||
|
get_filename_component(GLEWLIBFILE ${GLEW_LIBRARY} NAME_WE)
|
||||||
|
if("glew32s" STREQUAL ${GLEWLIBFILE})
|
||||||
|
add_definitions(-DGLEW_STATIC) #static linked
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
source_group("Audio" FILES ${AUDIO_FILES})
|
source_group("Audio" FILES ${AUDIO_FILES})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user