Skip to content

Commit

Permalink
error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee30sonia committed Mar 4, 2024
1 parent 735f0b2 commit 6d35fdb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ if(ENABLE_NAUTY)
add_definitions(-DENABLE_NAUTY)
endif()

if (ENABLE_ABC)
if (NOT EXISTS ${PROJECT_SOURCE_DIR}/lib/abc_static/libabc.a)
message(FATAL_ERROR "Cannot find libabc.a in lib/abc_static/. For more info, see https://github.com/lsils/abc-staticlib")
endif()
endif()

if(MOCKTURTLE_EXAMPLES)
add_subdirectory(examples)
endif()
Expand Down
3 changes: 3 additions & 0 deletions experiments/explorer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,4 +404,7 @@ int main( int argc, char* argv[] )

return 0;
}
#else
int main()
{}
#endif

0 comments on commit 6d35fdb

Please sign in to comment.