-
-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced boost::program_options with cxxopts in utils/scm-to-cereal
- Loading branch information
1 parent
d18fddf
commit 4bbc57d
Showing
3 changed files
with
39 additions
and
36 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
set(Boost_NO_WARN_NEW_VERSIONS ON) # Supress "New Boost version may have incorrect dependencies or import targets" warning | ||
find_package(Boost 1.71.0 REQUIRED COMPONENTS program_options) | ||
find_package(cxxopts CONFIG REQUIRED) | ||
|
||
# Converts a CVSSP .scm Morphable Model to a cereal binary file: | ||
add_executable(scm-to-cereal scm-to-cereal.cpp) | ||
target_link_libraries(scm-to-cereal PRIVATE eos Boost::program_options) | ||
target_link_libraries(scm-to-cereal PRIVATE cxxopts::cxxopts eos) | ||
|
||
# Install targets: | ||
install(TARGETS scm-to-cereal DESTINATION bin) |
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
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