Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Diego Pérez Peña
/
PAG_p1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0e1e76a6
authored
Sep 18, 2025
by
Diego Pérez Peña
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Agregada compatibilidad con Linux
parent
c4b93e9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
CMakeLists.txt
CMakeLists.txt
View file @
0e1e76a6
...
...
@@ -11,8 +11,22 @@ add_executable(PAG_p1 ${MY_FILES} ${GLAD_FILES} ${IMGUI_FILES})
target_include_directories
(
PAG_p1 PUBLIC glad/include imgui/include
)
find_package
(
opengl_system
)
find_package
(
glfw3
)
# Uncomment the following when using Conan, comment (# at line start) otherwise
target_link_libraries
(
PAG_p1 opengl::opengl
)
target_link_libraries
(
PAG_p1 glfw
)
\ No newline at end of file
#find_package(opengl_system)
#find_package(glfw3)
#target_link_libraries(PAG_p1 opengl::opengl)
#target_link_libraries(PAG_p1 glfw)
#===========================================
# Uncomment the following when using Linux, comment (# at line start) otherwise
find_package
(
glfw3 3.3 REQUIRED
)
find_package
(
OpenGL REQUIRED
)
target_include_directories
(
PAG_p1 PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_LIST_DIR
}
/include>
$<INSTALL_INTERFACE:include>
)
target_link_libraries
(
PAG_p1 PUBLIC glfw OpenGL::GL
${
CMAKE_DL_LIBS
}
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment