diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-08 00:50:02 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-08 00:50:02 -0300 |
commit | b014207dfad4de3d58a4aedcbbefdb4c2b67ebf2 (patch) | |
tree | c6542e80c74f6dd4e04dbec51ffe49cdec6d5fbd | |
parent | d3589ca8808f184e22c0d8f1bc9afdc99e3b08b1 (diff) | |
download | PSP.git-b014207dfad4de3d58a4aedcbbefdb4c2b67ebf2.tar.gz PSP.git-b014207dfad4de3d58a4aedcbbefdb4c2b67ebf2.tar.xz PSP.git-b014207dfad4de3d58a4aedcbbefdb4c2b67ebf2.zip |
CMake fix
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 076d336..f38226b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,8 +15,9 @@ endif() find_package(wxWidgets REQUIRED COMPONENTS net core base std adv ribbon aui propgrid richtext stc gl) find_package(OpenGL REQUIRED) find_package(GLUT REQUIRED) +find_package(glfw3 3.3 REQUIRED) include(${wxWidgets_USE_FILE}) -include_directories( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} vendor) +include_directories( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/Project/vendor) add_definitions(${OpenGL_DEFINITIONS}) add_definitions(${GLUT_DEFINITIONS}) @@ -51,4 +52,4 @@ file(GLOB PSP_SRC ) add_executable(${PROJECT_NAME} WIN32 ${PSP_SRC}) -target_link_libraries(${PROJECT_NAME} ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${GLUT_LIBRARY}) +target_link_libraries(${PROJECT_NAME} ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${GLUT_LIBRARY} glfw) |