Skip to content

Commit 89c97f2

Browse files
committed
Enable out-of-source builds
The only thing preventing this was the tests requiring access to some files to run The simple fix for now is to have the tests run in that directory. There might be a better fix option but this will do for now.
1 parent 4c1fd97 commit 89c97f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ enable_testing()
122122
include(CTest)
123123
include(Catch)
124124

125-
catch_discover_tests(unit_tests)
125+
catch_discover_tests(unit_tests WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/tests")
126126

127127
install(
128128
TARGETS dengr

0 commit comments

Comments
 (0)