Added VCC build
This commit is contained in:
12
external/glew-2.1.0/glew-config.cmake
vendored
Normal file
12
external/glew-2.1.0/glew-config.cmake
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
set(GLEW_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/include")
|
||||
|
||||
# Support both 32 and 64 bit builds
|
||||
if (${CMAKE_SIZEOF_VOID_P} MATCHES 8)
|
||||
set(GLEW_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/lib/Release/x64/glew32.lib")
|
||||
set(GLEW_DLL "${CMAKE_CURRENT_LIST_DIR}/bin/Release/x64/glew32.dll")
|
||||
else ()
|
||||
set(GLEW_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/lib/Release/Win32/glew32.lib")
|
||||
set(GLEW_DLL "${CMAKE_CURRENT_LIST_DIR}/bin/Release/Win32/glew32.dll")
|
||||
endif ()
|
||||
|
||||
string(STRIP "${GLEW_LIBRARIES}" GLEW_LIBRARIES)
|
||||
Reference in New Issue
Block a user