Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefy Lanza (nextime / spora )
stitchEm
Commits
582a8852
Commit
582a8852
authored
May 11, 2019
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conan install glfw
parent
36e59555
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
CMakeLists.txt
CMakeLists.txt
+3
-1
CMakeLists.txt
lib/samples/sample-02-fullCmd/CMakeLists.txt
+5
-1
No files found.
CMakeLists.txt
View file @
582a8852
...
@@ -118,7 +118,9 @@ if(WIN32)
...
@@ -118,7 +118,9 @@ if(WIN32)
"
${
CMAKE_BINARY_DIR
}
/conan.cmake"
)
"
${
CMAKE_BINARY_DIR
}
/conan.cmake"
)
conan_add_remote
(
NAME bincrafters URL https://api.bintray.com/conan/bincrafters/public-conan
)
conan_add_remote
(
NAME bincrafters URL https://api.bintray.com/conan/bincrafters/public-conan
)
conan_cmake_run
(
REQUIRES libpng/1.6.37@bincrafters/stable
)
conan_cmake_run
(
REQUIRES libpng/1.6.37@bincrafters/stable
glfw/3.3@bincrafters/stable
)
endif
()
endif
()
endif
()
endif
()
...
...
lib/samples/sample-02-fullCmd/CMakeLists.txt
View file @
582a8852
...
@@ -16,7 +16,11 @@ elseif(APPLE)
...
@@ -16,7 +16,11 @@ elseif(APPLE)
target_include_directories
(
${
CMD_NAME
}
PRIVATE /usr/local/include
)
target_include_directories
(
${
CMD_NAME
}
PRIVATE /usr/local/include
)
endif
()
endif
()
elseif
(
WINDOWS
)
elseif
(
WINDOWS
)
find_library
(
GLFW glfw3 HINTS
"
${
CMAKE_EXTERNAL_LIB
}
/glfw"
REQUIRED
)
if
(
WIN_CHOCO
)
set
(
GLFW CONAN_PKG::glfw
)
else
()
find_library
(
GLFW glfw3 HINTS
"
${
CMAKE_EXTERNAL_LIB
}
/glfw"
REQUIRED
)
endif
()
endif
()
endif
()
target_include_directories
(
${
CMD_NAME
}
PRIVATE
"
${
CMAKE_EXTERNAL_DEPS
}
/include"
)
target_include_directories
(
${
CMD_NAME
}
PRIVATE
"
${
CMAKE_EXTERNAL_DEPS
}
/include"
)
...
...
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