fixup! CMAKE Conditional compilation against DirectX and OpenGL targets

This commit is contained in:
2015-10-20 15:48:13 +02:00
parent 14b4fd9813
commit 0fabac14a8
+4 -1
View File
@@ -113,7 +113,7 @@ set(SOURCE_FILES
)
set(LIBRARIES
${OPENGL_LIBRARIES}
${OPENGL_LIBRARIES}
${GLEW_LIBRARIES}
${GLFW_LIBRARIES}
${Boost_LIBRARIES}
@@ -146,6 +146,9 @@ if(CMAKE_COMPILER_IS_GNUCXX)
endif()
add_library(game ${SOURCE_FILES})
target_link_libraries(game
${LIBRARIES}
)
add_executable(breakout
main.cpp