forked from zzjjzzgggg/cpplib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c1a392
commit 4eed550
Showing
2 changed files
with
6 additions
and
143 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,11 @@ | |
git clone --recursive [email protected]:zzjjzzgggg/cpplib.git | ||
#+end_src | ||
|
||
In your project ~CMakeLists.txt~, just tell cmake where to find the library. | ||
Tell ~cmake~ where to find the library. This requires another repository ~cmake~. | ||
#+begin_src shell | ||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} $ENV{GIT_REPO}/cpplib) | ||
git clone --recursive [email protected]:zzjjzzgggg/cmake.git | ||
#+end_src | ||
Then add following line in your project ~CMakeLists.txt~. | ||
#+begin_src shell | ||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} $ENV{GIT_REPO}/cmake) | ||
#+end_src |