Fixed CMakeLists.txt

This commit is contained in:
fura95
2021-04-01 23:38:34 +03:00
committed by OLEGSHA
parent 02f95e8849
commit 5bcd58a31e

View File

@@ -12,16 +12,16 @@ add_executable(progressiatexturepreviewer
install(TARGETS progressiatexturepreviewer RUNTIME DESTINATION bin)
# Link with GLFW3
find_package(glfw3 3.2 REQUIRED)
# Use GLFW3
add_subdirectory(libs/glfw)
target_link_libraries(progressiatexturepreviewer glfw)
# Link with OpenGL
find_package(OpenGL REQUIRED)
target_link_libraries(progressiatexturepreviewer OpenGL::GL)
# Link with GLM
find_package(glm REQUIRED)
# Use GLM
add_subdirectory(libs/glm)
target_link_libraries(progressiatexturepreviewer glm)
# Use GLAD