Update CMakeLists.txt

Build: Make windows headers much smaller.
pull/1293/head
Kim Kulling 2017-06-01 15:50:19 +02:00 committed by GitHub
parent 3d088e5d90
commit 0a35fa0aef
1 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,10 @@ OPTION ( BUILD_DOCS
OFF
)
if (WIN32)
add_definitions( -DWIN32_LEAN_AND_MEAN )
endif()
IF(MSVC)
set (CMAKE_PREFIX_PATH "D:\\libs\\devil")
OPTION( ASSIMP_INSTALL_PDB