if(MSVC)
include_directories(D:/FluidSim/cppsystem/freeglut-3.2.1)
include_directories(D:/FluidSim/cppsystem/freeglut-3.2.1/FreeGLUT)
include_directories(D:/FluidSim/cppsystem/freeglut-3.2.1/include)
set (CMAKE_MODULE_PATH "D:/FluidSim/cppsystem/freeglut-3.2.1")
set (CMAKE_MODULE_PATH "D:/FluidSim/cppsystem/freeglut-3.2.1/include")
set (FREEGLUT_DIR "D:/FluidSim/cppsystem/freeglut-3.2.1/FreeGLUT")
find_package(FREEGLUT REQUIRED)
直接硬编码,