-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add possibility to include SDHCalContent and AprilContent #26
Conversation
…tent during compilation
Inclusion of SDHCALContent and APRILContent
INCLUDE_DIRECTORIES( SYSTEM ${SDHCALContent_INCLUDE_DIRS} ) | ||
LINK_LIBRARIES( ${SDHCALContent_LIBRARIES} ) | ||
ADD_DEFINITIONS ( ${SDHCALContent_DEFINITIONS} ) | ||
ADD_DEFINITIONS( "-DSDHCALCONTENT" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ADD_DEFINITIONS( "-DSDHCALCONTENT" ) | |
ADD_DEFINITIONS( "SDHCALCONTENT" ) |
Cmake will add the -D where necessary
INCLUDE_DIRECTORIES( SYSTEM ${APRILContent_INCLUDE_DIRS} ) | ||
LINK_LIBRARIES( ${APRILContent_LIBRARIES} ) | ||
ADD_DEFINITIONS ( ${APRILContent_DEFINITIONS} ) | ||
ADD_DEFINITIONS( "-DAPRILCONTENT" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ADD_DEFINITIONS( "-DAPRILCONTENT" ) | |
ADD_DEFINITIONS( "APRILCONTENT" ) |
@@ -0,0 +1,18 @@ | |||
IF(NOT DEFINED mlpack_DIR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mlpack should come with a cmake config file, so this findmlpack should not be needed
https://github.com/mlpack/mlpack/blob/master/CMake/mlpack-config.cmake.in
@@ -0,0 +1,18 @@ | |||
IF(NOT DEFINED mlpack_DIR) | |||
MESSAGE(STATUS "Warning: it is mandorary to define mlpack_DIR.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MESSAGE(STATUS "Warning: it is mandorary to define mlpack_DIR.") | |
MESSAGE(FATAL_ERROR "It is mandatory to define mlpack_DIR.") | |
Superseded by #29 |
BEGINRELEASENOTES
ENDRELEASENOTES