Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/topic/timw/cmake-find-package'
Browse files Browse the repository at this point in the history
* origin/topic/timw/cmake-find-package:
  Remove usage of FindRequiredPackage
  • Loading branch information
timwoj committed Aug 3, 2023
2 parents 1e0a4a7 + b98bffb commit 84b730f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.61.0-11 | 2023-08-03 09:35:16 -0700

* Remove usage of FindRequiredPackage (Tim Wojtulewicz, Corelight)

0.61.0-9 | 2023-07-02 14:52:25 -0700

* Add /J flag on Windows to force unsigned char (Tim Wojtulewicz, Corelight)
Expand Down
13 changes: 2 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,8 @@ include(GNUInstallDirs)
########################################################################
## Dependency Configuration

include(FindRequiredPackage)

FindRequiredPackage(FLEX)
FindRequiredPackage(BISON)

if (MISSING_PREREQS)
foreach (prereq ${MISSING_PREREQ_DESCS})
message(SEND_ERROR ${prereq})
endforeach ()
message(FATAL_ERROR "Configuration aborted due to missing prerequisites")
endif ()
find_package(FLEX REQUIRED)
find_package(BISON REQUIRED)

if (MSVC)
add_compile_options(/J) # Similar to -funsigned-char on other platforms
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. -*- mode: rst-mode -*-
..
.. Version number is filled in automatically.
.. |version| replace:: 0.61.0-9
.. |version| replace:: 0.61.0-11

======
BinPAC
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.61.0-9
0.61.0-11
2 changes: 1 addition & 1 deletion cmake

0 comments on commit 84b730f

Please sign in to comment.