mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
add necessary preprocessor definition
This commit is contained in:
parent
7912f3f7f1
commit
6f1e19f9c5
@ -8,7 +8,7 @@ index 499ddce..895fda9 100644
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
+ add_definitions(-DWEBP_HAVE_JUST_SDL_H)
|
||||
+ if(BUILD_SHARED_LIBS)
|
||||
+ add_definitions(-DWEBP_EXTERN=__declspec\(dllexport\))
|
||||
+ add_definitions(-DWEBP_EXTERN=__declspec\(dllexport\) -DWEBP_DLL)
|
||||
+ else()
|
||||
+ add_definitions(-DFREEGLUT_STATIC)
|
||||
+ endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user