Commits

jodoherty committed 77efe7d

Fixed CMakeLists.txt on Linux.

Comments (0)

Files changed (1)

 	set(BOOST_ROOT "C:\\boost_1_48_0")
 endif(MSVC)
 
-
 set(CMAKE_C_FLAGS "${PLATFORM_C_FLAGS}")
 set(CMAKE_C_FLAGS_RELEASE "${PLATFORM_C_FLAGS}")
 set(CMAKE_C_FLAGS_DEBUG "${PLATFORM_C_FLAGS_DEBUG}")
 set(Boost_ADDITIONAL_VERSIONS "1.48" "1.48.0" "1.47" "1.47.0")
 
 find_package(Boost REQUIRED)
-include_directories(${Boost_INCLUDE_DIRS})
 
 find_package(OpenGL REQUIRED)
-find_package(GLew REQUIRED)
+find_package(GLEW REQUIRED)
 find_package(SDL REQUIRED)
 find_package(SDL_mixer REQUIRED)
+include_directories(
+	${SDL_INCLUDE_DIR}
+	${GLEW_INCLUDE_DIR}
+	${OPENGL_INCLUDE_DIR}
+	${Boost_INCLUDE_DIR}
+)
 
 link_libraries(
 	${OPENGL_LIBRARY}