ports/devel/libftdi1/files/patch-test_CMakeLists.txt
Boris Samorodov fcdd790839 devel/libftdi1: Fix build if previous version is installed.
PR:		221721
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
2017-10-11 10:50:36 +00:00

11 lines
355 B
Text

--- test/CMakeLists.txt.orig 2017-08-07 14:52:39 UTC
+++ test/CMakeLists.txt
@@ -10,7 +10,7 @@ if(BUILD_TESTS)
enable_testing()
- INCLUDE_DIRECTORIES(BEFORE ${CMAKE_SOURCE_DIR}/src ${Boost_INCLUDE_DIRS})
+ INCLUDE_DIRECTORIES(BEFORE ${Boost_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/src)
set(cpp_tests
basic.cpp