[mlpack-git] master: CMake < 3.0 doesn't support wrapping strings. (ba850f7)

gitdub at mlpack.org gitdub at mlpack.org
Sun Jul 24 17:44:26 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/3c4a6ce1d78c08148ca9a7f5a4fdc52866a2b731...ba850f782a53c5a77b7985f7647f609bd96cb5e7

>---------------------------------------------------------------

commit ba850f782a53c5a77b7985f7647f609bd96cb5e7
Author: Ryan Curtin <ryan at ratml.org>
Date:   Sun Jul 24 17:44:26 2016 -0400

    CMake < 3.0 doesn't support wrapping strings.


>---------------------------------------------------------------

ba850f782a53c5a77b7985f7647f609bd96cb5e7
 CMakeLists.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index af49a09..d89b313 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,9 +96,7 @@ if(BUILD_WITH_COVERAGE)
 
     set(COMPILER_MLPACK_SUPPORT_LIBRARIES
         ${COMPILER_SUPPORT_MLPACK_LIBRARIES} "supc++")
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fno-inline \
-        -fno-inline-small-functions -fno-default-inline -fprofile-arcs \
-        -fkeep-inline-functions")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fno-inline -fno-inline-small-functions -fno-default-inline -fprofile-arcs -fkeep-inline-functions")
     message(STATUS "Adding debug compile options for code coverage.")
     # Remove optimizations for better line coverage
     set(DEBUG ON)




More information about the mlpack-git mailing list