Browse Source

CMake tweak for old boost

master
Trevor Irons 4 years ago
parent
commit
4ec7e1f0e3
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      CMakeLists.txt

+ 5
- 5
CMakeLists.txt View File

239
 	)  
239
 	)  
240
 	if(Boost_FOUND)
240
 	if(Boost_FOUND)
241
   		include_directories(${Boost_INCLUDE_DIRS})
241
   		include_directories(${Boost_INCLUDE_DIRS})
242
-	endif()
243
-	find_path( HAVE_BOOST_SPECIAL_FUNCTIONS "boost/math/special_functions.hpp" ) 
244
-	if(HAVE_BOOST_SPECIAL_FUNCTIONS)
245
-		add_definitions(-DHAVE_BOOST_SPECIAL_FUNCTIONS)
242
+		find_path( HAVE_BOOST_SPECIAL_FUNCTIONS "boost/math/special_functions.hpp" ) 
243
+		if(HAVE_BOOST_SPECIAL_FUNCTIONS)
244
+			add_definitions(-DHAVE_BOOST_SPECIAL_FUNCTIONS)
245
+		endif()
246
 	endif()
246
 	endif()
247
 	find_path( HAVE_BOOST_PROGRESS "boost/progress.hpp" ) 
247
 	find_path( HAVE_BOOST_PROGRESS "boost/progress.hpp" ) 
248
-	if(HAVE_BOOST_PROGRESS)
248
+		if(HAVE_BOOST_PROGRESS)
249
 		add_definitions(-DHAVE_BOOST_PROGRESS)
249
 		add_definitions(-DHAVE_BOOST_PROGRESS)
250
 	endif()
250
 	endif()
251
 endif()
251
 endif()

Loading…
Cancel
Save