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
24 lines
651 B
set( GINAC_FOUND FALSE )
|
|
|
|
find_path( GINAC_INCLUDE_DIR ginac.h
|
|
/usr/include/ginac
|
|
/usr/local/include/ginac
|
|
/opt/local/include/ginac
|
|
$ENV{UNITTESTXX_PATH}/src
|
|
$ENV{UNITTESTXX_INCLUDE_PATH} )
|
|
|
|
find_library( GINAC_LIBRARIES NAMES ginac PATHS
|
|
/usr/lib
|
|
/usr/local/lib
|
|
/opt/local/lib
|
|
$ENV{UNITTESTXX_PATH}
|
|
ENV{UNITTESTXX_LIBRARY_PATH} )
|
|
|
|
if( GINAC_INCLUDE_DIR AND GINAC_LIBRARIES )
|
|
SET( GINAC_FOUND TRUE )
|
|
ENDIF (GINAC_INCLUDE_DIR AND GINAC_LIBRARIES)
|
|
|
|
|
|
MARK_AS_ADVANCED ( GINAC_INCLUDE_DIR
|
|
GINAC_LIBRARIES
|
|
)
|