Skip to content

Commit

Permalink
fix pcrio submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
sandsmark committed Aug 25, 2019
1 parent 230c414 commit 71f9598
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "extern/pcrio"]
path = extern/pcrio
url = https://github.com/apreiml/pcrio.git
url = https://github.com/sandsmark/pcrio.git
[submodule "extern/zstr"]
path = extern/zstr
url = https://github.com/sandsmark/zstr.git
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ if (GUTILS_TEST)
endif (GUTILS_TEST)

# TODO: write proper cmake config for pcrio
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../pcrio/pcrio.c)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/extern/pcrio/pcrio.c)
message(STATUS "Using bundled pcrio")
set(PCRIO_LIBRARIES)
set(PCRIO_SRC ../pcrio/pcrio.c)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../pcrio/)
set(PCRIO_SRC extern/pcrio/pcrio.c)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/extern/pcrio/)
else()
set(PCRIO_LIBRARIES pcrio)
set(PCRIO_SRC)
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ because of possible bugs.
## Dependencies ##

- A modern C++ Compiler (i. e. supports C++17)
- [PCRIO](https://github.com/sandsmark/pcrio) - clone this _next to_ the genieutils folder.

This assumes that you do a recursive clone of the repo or remember to update
the submodules, otherwise you need to install zstr, and winiconv when building
Expand Down
1 change: 1 addition & 0 deletions extern/pcrio
Submodule pcrio added at e5a181

0 comments on commit 71f9598

Please sign in to comment.