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 a4aadc5 + 23d26c2 commit c7bf54c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.8.0-11 | 2023-08-03 09:36:59 -0700

* Remove usage of FindRequiredPackage (Tim Wojtulewicz, Corelight)

1.8.0-9 | 2023-07-02 14:51:55 -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 @@ -3,17 +3,8 @@ project(BifCl C CXX)

include(cmake/CommonCMakeConfig.cmake)

include(FindRequiredPackage)

FindRequiredPackage(BISON)
FindRequiredPackage(FLEX)

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(BISON REQUIRED)
find_package(FLEX REQUIRED)

if (MSVC)
add_compile_options(/J) # Similar to -funsigned-char on other platforms
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0-9
1.8.0-11
2 changes: 1 addition & 1 deletion cmake

0 comments on commit c7bf54c

Please sign in to comment.