Skip to content

Commit 1f3bd16

Browse files
authored
Merge pull request #54 from jfdev001/jf/remove-include-helper-in-test-drive-cmake
remove unused include helper.cmake in tests
2 parents 7c83cf4 + ed44690 commit 1f3bd16

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

dependencies/test-drive/CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Get the macros and functions we'll need
2-
include("${PROJECT_SOURCE_DIR}/cmake/helper.cmake")
31
include(FetchContent)
42

53
# If found, use the installed version; else, import the library
@@ -30,4 +28,4 @@ set(test-drive_LIBRARY test-drive)
3028
set(test-drive_LIBRARY ${test-drive_LIBRARY} PARENT_SCOPE)
3129

3230
# Make a parent-scope variable locating the include directory for test-drive
33-
set(test-drive_INCLUDE_DIR ${test-drive_INCLUDE_DIR} PARENT_SCOPE)
31+
set(test-drive_INCLUDE_DIR ${test-drive_INCLUDE_DIR} PARENT_SCOPE)

test/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include("${PROJECT_SOURCE_DIR}/cmake/helper.cmake")
2-
31
macro(build_tests testname)
42
add_executable(${testname} ${ARGN})
53
link_library(${testname} fftpack ${PROJECT_INCLUDE_DIR})

0 commit comments

Comments
 (0)