set(CMAKE_INSTALL_PREFIX "${LUGARU_INSTALL_PREFIX}" CACHE INTERNAL "Prefix prepended to install directories" FORCE)
-if(WIN32)
+if(MINGW)
set(OPENGL_gl_LIBRARY "-lopengl32" CACHE STRING "OpenGL library for Win32" FORCE)
set(OPENGL_glu_LIBRARY "-lglu32" CACHE STRING "GLU library for Win32" FORCE)
-endif(WIN32)
+endif(MINGW)
)
endif(MSVC)
+if(UNIX)
+ set(LUGARU_H
+ ${LUGARU_H}
+ ${SRCDIR}/MacCompatibility.h
+ )
+endif(UNIX)
+
set(LUGARU_H
${SRCDIR}/Constants.h
${SRCDIR}/Frustum.h
${SRCDIR}/Game.h
${SRCDIR}/Lights.h
${SRCDIR}/LinkedList.h
- ${SRCDIR}/MacCompatibility.h
${SRCDIR}/Models.h
${SRCDIR}/Objects.h
${SRCDIR}/Person.h