Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
gruenich committed Nov 25, 2023
1 parent 08976ab commit 52b8cfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,15 @@ jobs:
cd wingetopt
cmake -B build
cmake --build build --config Release
cmake --install build
cd ..
- name: Configure
run: cmake -B build
run: cmake -B build -DWinGetOpt_INCLUDE_DIR=wingetopt/src -DWinGetOpt_LIBRARY="wingetopt/build/Release/wingetopt.lib"

- name: Build
run: cmake --build build

- name: Test
run: ctest --test-dir build --output-on-failure
run: |
cmake --build build/TESTING
ctest --test-dir build -C Release --output-on-failure
5 changes: 2 additions & 3 deletions cmake/FindWinGetOpt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ find_path(WinGetOpt_INCLUDE_DIR getopt.h
${PKG_LIBGETOPT_INCLUDE_DIRS}
/usr/include
/usr/local/include
PATH_SUFFIXES include
)

find_library(WinGetOpt_LIBRARY
NAMES getopt
NAMES
getopt
PATHS
${PKG_LIBGETOPT_LIBRARY_DIRS}
/usr/lib
/usr/local/lib
PATH_SUFFIXES lib
)

find_package_handle_standard_args(WinGetOpt DEFAULT_MSG WinGetOpt_LIBRARY WinGetOpt_INCLUDE_DIR)

0 comments on commit 52b8cfb

Please sign in to comment.