You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
651 B

  1. set( GINAC_FOUND FALSE )
  2. find_path( GINAC_INCLUDE_DIR ginac.h
  3. /usr/include/ginac
  4. /usr/local/include/ginac
  5. /opt/local/include/ginac
  6. $ENV{UNITTESTXX_PATH}/src
  7. $ENV{UNITTESTXX_INCLUDE_PATH} )
  8. find_library( GINAC_LIBRARIES NAMES ginac PATHS
  9. /usr/lib
  10. /usr/local/lib
  11. /opt/local/lib
  12. $ENV{UNITTESTXX_PATH}
  13. ENV{UNITTESTXX_LIBRARY_PATH} )
  14. if( GINAC_INCLUDE_DIR AND GINAC_LIBRARIES )
  15. SET( GINAC_FOUND TRUE )
  16. ENDIF (GINAC_INCLUDE_DIR AND GINAC_LIBRARIES)
  17. MARK_AS_ADVANCED ( GINAC_INCLUDE_DIR
  18. GINAC_LIBRARIES
  19. )