From cecdba5cd996cea3ebd2534aea7a3e3a41205b9c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 21 Feb 2015 19:21:17 -0500 Subject: Changed to using stb_image for image loading, also alpha blending works! --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2622733..a006f67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,8 +26,14 @@ find_package(OpenGL REQUIRED) find_package(GLEW REQUIRED) find_package(GLFW REQUIRED) +set(ALL_LIBS + ${OPENGL_LIBRARY} + ${GLEW_LIBRARY} + ${GLFW_LIBRARY} +) + # include_directories(${SDL2_INCLUDE_DIR}) set(CMAKE_BUILD_TYPE Debug) add_executable(Aromatherapy src/main.cpp src/map.cpp src/mapview.cpp src/renderer.cpp) -target_link_libraries(Aromatherapy ${OPENGL_LIBRARY} ${GLEW_LIBRARY} ${GLFW_LIBRARY}) +target_link_libraries(Aromatherapy ${ALL_LIBS}) install(TARGETS Aromatherapy RUNTIME DESTINATION ${BIN_DIR}) -- cgit 1.4.1